updated message controller
Merge pull request #18 from johnlok/mailer

updated message controller