Fixed mailer script.