updated app.js to handle mailing
added mailgun to package.json