Change server.js to web.js
Add send email functionality