Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 492 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 492 Bytes

Mailer

Send emails using Gmail API

Before Start

  1. Place your credential file in credentials folder with name credentials.{{account}}.json.
  2. Create .env file in config folder.
    • You can set value of HTTP_PORT and HTTPS_PORT.
  3. Run npm run init.
    • Enter the account name to create an token file.
    • Token file will be created in token folder.
  4. (Optional) Edit the whitelist.json file to config CORS.
  5. Run npm run build.

Run Mailer

Just run npm start.