Changed method of setting email message

Mailer method review