Send Email from the console line using a python3 script

Table of content
About the project
This python3 script allow you to send email from the terminal using a json file as configuration file and a .txt file as the subject for the mail.
Setup
Install required packages
cd send_email
$ pip install -r requirements.txt
Create the config.json file with your credentials . This configuration file is for gmail
Change port and server for others smtp providers.
{
"email": "[email protected]",
"password": "xxxxxx",
"port": 587,
"server": "smtp.gmail.com"
}
Remove reading write