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
- Host: GitHub
- URL: https://github.com/hex7c0/gmailtoslack
- Owner: hex7c0
- License: gpl-3.0
- Created: 2015-09-12T09:28:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-16T18:26:23.000Z (over 9 years ago)
- Last Synced: 2025-03-29T02:51:29.530Z (about 1 year ago)
- Topics: gmail, slack, unread-emails
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)