Send emails using Gmail API
- Place your credential file in
credentialsfolder with namecredentials.{{account}}.json. - Create
.envfile inconfigfolder.- You can set value of HTTP_PORT and HTTPS_PORT.
- Run
npm run init.- Enter the account name to create an token file.
- Token file will be created in
tokenfolder.
- (Optional) Edit the
whitelist.jsonfile to config CORS. - Run
npm run build.
Just run npm start.