1.0.2 • Published 7 years ago

gmail-common-utils v1.0.2

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
7 years ago

Example Usage

const commonUtils = require('gmail-common-utils');
const toAddress = ['science@bill.nye'];
const fromAddress = 'et@phone.home';
const subject = 'New Hypothesis';
const emailText = 'Hey Bill, How are you?;
const clientSecret = './path/to/secret/here.json';
commonUtils.sendEmail(clientSecret, toAddress, fromAddress, subject, emailText);

You will need a G-Mail API token

source: https://developers.google.com/gmail/api/quickstart/nodejs

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago