https://github.com/litencatt/grett
✉️ Send the first few lines of email in Gmail that match your search conditions to your Slack channel.
https://github.com/litencatt/grett
clasp gmail slack
Last synced: 3 months ago
JSON representation
✉️ Send the first few lines of email in Gmail that match your search conditions to your Slack channel.
- Host: GitHub
- URL: https://github.com/litencatt/grett
- Owner: litencatt
- Created: 2019-09-23T06:27:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-07T09:05:50.000Z (almost 4 years ago)
- Last Synced: 2025-03-28T14:35:57.918Z (6 months ago)
- Topics: clasp, gmail, slack
- Language: TypeScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GMail receive then that(Grett)
## Usage
```
$ npx clasp login
$ npx clasp create --rootDir ./src
$ npx clasp -P src/ push
```### Setup GAS
```
$ npx clasp -P src/ open
```
- Set your `SHEET_ID` and `SLACK_INCOMING_WEBHOOK_URL` to Project property
### Setup GMail search operator
- Make `config` sheet on a spreadsheet of `SHEET_ID` set to GAS property.
- Set operator value to A2 cell in `config` sheet.
See more about GMail search operators => https://support.google.com/mail/answer/7190
### Set trigger
Set trigger schedule as you like.#### e.g. trigger per 10 minutes
![]()