Update mailer.js

Delete the unfinished code that was causing problems.