Set up smtp mailer function
Set up file logging
Convert to unicode
Pass msg into MIMEText constructor
Ignore data files
Use gmail smtp
Use gmail creds from conf