new version of app.js using mail-parser2
changes before merge