SECRET SANTA / KRIS KINGLE
Before executing the script, make sure to turn on ‘Less Secure App access’ option from your gmail ID that will be used to send out the mails to all participants of the game.
To do so, get going with the following steps:
1.Log into the Gmail account that will be used to send the emails.
2.Go to Gmail’s Less Secure App Access
3.Set the Allow less secure apps option to ON.
Post execution of this script the following is performed automatically:
The script automatically allots everyone a name for whom they have to buy a gift this christmas.
Every participant receives the necessary details of the game on their respective Email IDs to maintain confidentiality.
A CSV file containing the dataframe is created to store the records.