/christmastodon

Automatic Secret Santa! :D

Primary LanguageGroovyMIT LicenseMIT

christmastodon

mascot by Zariga

Automatic Secret Santa! :D

Dependencies

This requires Groovy!

How to use it

Clone it git clone https://github.com/dosaki/christmastodon.git

Rename list.template to list and edit it with your names, emails and optionally an address. Syntax is:

Person Name - the.email@example.com - Address

Address is optional

Rename the credentials.template to credentials and edit it with your gmail email and password. Syntax is:

your.email@gmail.com
yourpasswordhere

Rename the message.template to message and subject.template to subject and edit them with what you want. You can use the following placeholders:

  • [recipient] - the name of the recipient of this email
  • [match] - the name of their match
  • [match_address] - the address of their match

Send it with

groovy Match.groovy

Or resend the already-matched list:

groovy Resend.groovy <email here> <backup match file here>