removed hacked from email function from mailer