Skip to content

A simple program that sends gmail email. Remember to change the 'To' and 'From' in the py file.

Notifications You must be signed in to change notification settings

Saraswitty/gmail-pythonAPI-poc

Repository files navigation

A simple program that:
  Reads donor's and childern's information from a csv file.
  Creates a gmail draft email to be sent to each donor.
  Attaches the child's progress card to whom the donor donated to the draft.
  Sends the email.

To use the program:
  Login into gmail and go to this link: https://myaccount.google.com/lesssecureapps. Allow less secure app temporarily.  (Ya! :( )
  Modify username and password in email_donors.py 
  Run: python email_donors.py

Files in the repo:
README: This file
TODO: A list of TODOs for the project
Yogini Bhosale.pdf: A sample attachment file that is used to test the gmail API code
donorDetails_test.csv: A sample csv that contains the donor's and the children's information	
email_donors.py: Main program
gmailapi.py: Helper library that has all the code related to gmail
program-output.txt: stdout of the program

About

A simple program that sends gmail email. Remember to change the 'To' and 'From' in the py file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages