Supports blog entry at: https://fabianlee.org/2019/10/23/python-sending-html-emails-via-gmail-api-or-smtp-relay/