Updated Mailer Helper to send mails correctly