Skip to content

Script to run a Secret Santa and send the emails automatically

Notifications You must be signed in to change notification settings

saimanzano/SecretSanta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

SecretSanta

Script to run a Secret Santa and send the emails automatically.

Dependencies and requirements

Requires installing R libraries "argparse" and "blastula" which is handled automatically by the script via library "Pacman".

For the emails, you will require the "app password" from that gmail address. Please see how to obtain it from: https://rstudio.github.io/blastula/articles/sending_using_smtp.html

usage: SecretSanta.R [-h] [-e EMAIL] [-p PARTICIPANTS] [-a ADDITIONAL]

options:

  • -e EMAIL, --email EMAIL email address for the notifications to be sent from. Must be gmail
  • -p PARTICIPANTS, --participants PARTICIPANTS CSV file with following fields: name, email, ban(s). Bans are matches that cannot be made (e.g so that couples are not matched to each other). Can be more than one ban, separated by anything other than a comma.
  • -a ADDITIONAL, --additional ADDITIONAL Character string with additional info you want on the email (e.g budget, deadline, etc). Default: "Have fun!"

About

Script to run a Secret Santa and send the emails automatically

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages