An open API service indexing awesome lists of open source software.

https://github.com/hex7c0/gmailtoslack

send unread emails to slack channel with google app-scripts
https://github.com/hex7c0/gmailtoslack

gmail slack unread-emails

Last synced: about 1 year ago
JSON representation

send unread emails to slack channel with google app-scripts

Awesome Lists containing this project

README

          

# gmailToSlack

Send unread emails to slack channel with google app-scripts.

This script run on [Google apps-script](https://developers.google.com/apps-script/) every 5 minute and send a wekhook to slack channel

## Installation

* go to http://www.google.com/script/start/ and copy `Code.gs`
* go to https://api.slack.com/incoming-webhooks and configure your webhook
* write your URI into https://github.com/hex7c0/gmailToSlack/blob/master/Code.gs#L4
* write your CHANNEL into https://github.com/hex7c0/gmailToSlack/blob/master/Code.gs#L6
* enjoy

### [License GPLv3](LICENSE)