Skip to content

Instantly share code, notes, and snippets.

@pittgoose
pittgoose / 1-gmail-helper.ts
Created January 17, 2017 10:51
Typescript class for using Node Gmail API and Protractor
// Required packages:
// google-auth-library
// googleapis
// @types/lodash
// @types/node (for 'fs')
// protractor
// retry
// First step is to follow the instructions here and get your client ID, client secret, and redirect uris:
// https://developers.google.com/gmail/api/quickstart/nodejs