removed unnecessary code from mailer class
added email layouts