Fixing my mailer.js