Skip to content

litencatt/Grett

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.
    image

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

About

✉️ Send the first few lines of email in Gmail that match your search conditions to your Slack channel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published