Python: Sending HTML emails via Gmail API or SMTP relay
Although sending a plain text message through an unauthenticated SMTP relay might be easily done with a few lines of Python code, sending rich HTML email through authenticated relays or via the Gmail API using OAuth2 requires a bit of work. In this article, I will provide sample code for sending rich HTML email with … Python: Sending HTML emails via Gmail API or SMTP relay