Secret Santa Local Email Sender is a program for those who want to organise a secret santa but do not want to leak a list of email addresses to an online tool.
The program connects to your SMTP TLS server and send the emails for you, from your email address.
- Fill the
SMTP_HOST,LOGIN_ACCOUNTandSENDER_ACCOUNTvariables inemail_sender.py - Create a
password.pyfile that containsPASSWORD='your_email_password' - Create a
participants.txtfile that contains the list of your participants in format:
Michael Scott,[email protected]
Dwight Schrute,[email protected]
Ryan Howard,[email protected]
- Run
secret_santa.py - Each participant will receive an email with the name of their lucky colleague
- A
assignations.txtfile will be generated, containing the assignations - The next year, you can rename that file to
previous_assignations.txtand the script will make sure that the same gifter-giftee combination does not happen again