correcting mailer and sanity check