Add nodemailer and connect libraries to package.json file. Add parsers for post requests.