Skip to content

A simple API with a mailer service (using nodemailer and email-templates)

Notifications You must be signed in to change notification settings

superh2m/mailer-servicer

 
 

Repository files navigation

Mailer

What for

A mailing service.

Required

You need to provide a .env file in the root directory with following credentials:

# For <gmail> provider
GMAIL_USERNAME=
OAUTH_CLIENT_ID=
OAUTH_CLIENT_SECRET=
OAUTH_REFRESH_TOKEN=
OAUTH_ACCESS_TOKEN=

# Required
PROVIDER=<gmail>

Installation

yarn

Start

yarn start

Build

yarn build

Test

yarn test

Implementation

You can find a implementation example in script/test-template.script.

About

A simple API with a mailer service (using nodemailer and email-templates)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 56.6%
  • JavaScript 42.5%
  • Pug 0.9%