Fix unfinished mailer script