Send reminders for unanswered emails to a Slack channel.
Add these fields to config.json
emailThe email address the reminder is sent forwebhookSlack webhook linkremindersAfter how many days a reminder should be sent- Get
project_id,client_idandclient_secretfrom Google's developer console. The project needs thegmail.readonlyscope
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.