added mailer stuff to production environment