New mailer class added with smtp class