Adding Amazon SES mailer and minor changes