extract a mailer class