Fixed syntax error of production mailer