app.js to make sure that __dirname is sent in email