node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

hubot-gmail-watcher

npm version

Hubot gmail watcher

Watches your new mail to gmail and send by hubot.

Install

  1. $ npm install --save hubot-gmail-watcher
  2. add hubot-gmail-watcher to external-scripts.json
  3. send gmail start to your hubot

Environment variables

  • GMAIL_USER - gmail address
  • GMAIL_CLIENT_ID - google api client id
  • GMAIL_CLIENT_SECRET - google api client secret
  • GMAIL_REFRESH_TOKEN - gmail api refresh token
  • GMAIL_ACCESS_TOKEN - gmail api access token

Contribution

Usual github way