add logging option to Mailer. closes #726
Merge pull request #1756 from craigh/MailLogger

add logging option to Mailer. closes #726