Mailer is now working.

Rich, please pull my mailer code into the master.  Tested and working.