move node-mailer req to top of file