Send emails using Gmail API
- Place your credential file in
credentials
folder with namecredentials.{{account}}.json
. - Create
.env
file inconfig
folder.- 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
token
folder.
- (Optional) Edit the
whitelist.json
file to config CORS. - Run
npm run build
.
Just run npm start
.