Send reminders for unanswered emails to a Slack channel.
Add these fields to config.json
email
The email address the reminder is sent forwebhook
Slack webhook linkreminders
After how many days a reminder should be sent- Get
project_id
,client_id
andclient_secret
from Google's developer console. The project needs thegmail.readonly
scope
Then run
yarn
node index.js config.json
On the first run, the authentication is done. After that, the credentials are stored.
Now you can call node index.js config.json
as a cronjob daily at the time you want to send the reminders to Slack.