Trying to add mailer function
Mailer working