added mailer
design changes