Setting up the mailer
Fixing small detail to make mailer work