fixing mailer setting