Remove mailer and uneeded code.