Syntax fix for mailer