It simple email automation project made using python. This project mainly consits of 6 files.
This is the main file that needs to be executed using Python Interpreter.
python3 main.py
This file contains the functions that are required for main.py to execute successfully.
The message to be sent goes to this file. In this file, words wrapped with curly braces are treated as variables that will receive values when sending mail.
This file contains the dictionary object that will be used to give value to some of the variables declared in message.txt
This file contains previously sent email addresses. When the main.py crashes due to an error, this file automatically updates with the email addresses to be excluded in the next run.
This file contains two columns named Email Address and Full Name.
This project requires:-
- Python 3 interpreter
- A valid email account from which the email will be sent.
- You must also create an environment variable called
MAIL_PASS, which is the password used to authenticate your email.
OR - You can replace the code
os.environ.get('MAIL_PASS')with your password in the file message.py.