The script will take a list of people, choose who you are buying a gift for and email each individual their instructions.
- setup a new gmail account -- enable imap -- enable less secure apps. https://support.google.com/accounts/answer/6010255?hl=en
- install mutt https://shreevatsa.wordpress.com/2007/07/31/using-gmail-with-mutt-the-minimal-way/
- copy .muttrc file to ~/.muttrc
- check script lines in gift.py for accuracy
- run with final command line commented out for test purposes
- try to use the mutt command with your email address to make sure the email shows up and is formatted the way you want it to
https://shreevatsa.wordpress.com/2007/07/31/using-gmail-with-mutt-the-minimal-way/