Skip to content

376 mentor email invites#407

Closed
ReehalS wants to merge 19 commits intomainfrom
376-mentor-email-invites
Closed

376 mentor email invites#407
ReehalS wants to merge 19 commits intomainfrom
376-mentor-email-invites

Conversation

@ReehalS
Copy link
Member

@ReehalS ReehalS commented Feb 27, 2026

Use Nodemailer + Tito to send mentors invites

Modified the admissions portal code to make it even faster. Rather than having it be batches of 10/20 people processed in parallel, I made it a queue based system where there are always 20 people processing for Tito invites, and always 10 people's whose emails are being sent in parallel. I.e. if 20 people are processing for Tito invites right now, if one finishes, their place in the queue is immediately taken up by another person in waiting.

This will be very easy to modify in my next PR for sending hacker emails (required because the current version was nuked in #406)

The UI for invites is being consolidated into 1 page with sub tabs for Judges, Mentors and Hackers (future).
Each one will also allow sending invites to either a single person or a CSV uploaded list of people.

Closes #376

DO NOT MERGE YET. LET ME KNOW WHEN #406 IS MERGED. I will rebase from main at that time. This contains commits from #406 and ideally shouldn't have to show up a second time on the git tree.

Template and template image pending change
A per-person pipeline with two independent concurrency-limited pools where each person moves from Tito to email on their own as soon as a slot is free, with no batch boundaries.
michelleyeoh and others added 8 commits February 27, 2026 21:53
* Judge invites!

* Fix image URL and error handling for sending emails

* Document browser preview csv parser

* Throw error for missing email ENV vars

* cleaned code and updated email

* fixed email template

---------

Co-authored-by: michelleyeoh <michellew.yeoh@gmail.com>
Co-authored-by: michelleyeoh <74385095+michelleyeoh@users.noreply.github.com>
A per-person pipeline with two independent concurrency-limited pools where each person moves from Tito to email on their own as soon as a slot is free, with no batch boundaries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mentor email invites

2 participants