Fixed mailer bug