Send an email through Gmail programmatically using Python's smtplib.
Code modified from http://kutuma.blogspot.com/2007/08/sending-emails-via-gmail-with-python.html