added mailer class