fully functional REST backend with node-mailer