repairing syntax error on mailer