Automatically send the same email to thousands of recipients using a text file or an excel file
Instructions:
- Go to https://developers.google.com/gmail/api/quickstart/python and complete step 1 and step 2. Save and name the .json file from step 2
- .json, and .txt or .xlsx file should be in the same folder as 'gmailAPI.py' and 'sendEmail.py'
- in the terminal type 'pip install xlrd' if you wish to use an excel sheet. Names should be in column A and email addresses should be in column B
- run 'sendEmail.py'
- Your default browser will open and you will sign into the gmail in which you wish to send the emails from
- Click advanced, then click 'Go to Quickstart (unsafe)'
- Click allow then allow again
- Follow instructions on terminal