mailer cleanup