added mailer setting and class