Nodemailer is a module for Node.js applications to allow easy as cake email sending. The project got started back in 2010 when there was no sane option to send email messages, today it is the solution most Node.js users turn to by default.
The Google strategy allows users to sign in to a web application using their Google account. Google used to support OpenID internally, but it now works based on OpenID Connect and supports oAuth 1.0 and oAuth 2.0.
- npm install
- genrate your client ID and KEY from https://console.cloud.google.com
- Paste your key and ID in code.
Just go in utils/mail.js and paste your emailID where i mark in code.