Sending emails to end users with information timely basis is simple with python. This article will demonstrate with an example using gmail smtp service. Example will have data pulled from Mysql database and send to list of users in html format with css styles using python. Libraries used in this example are sqlalchemy, smptlib, ssl, MIMEText, MIMEMultipart and jinja.
I created a video on my youtube channel Python&tools, watch it and learn, feel free to comment on video for doubts.