markviews / GmailWebhook

Sends new emails to a discord webhook
MIT No Attribution
1 stars 0 forks source link

GmailWebhook

Sends new emails to a discord webhook using Gmail API

Setup

  1. Install Node.js and packages npm i fs readline googleapis js-base64 axios
  2. Create a discord webhook and paste it on lines 118 and 141 of the script
  3. Create Credentials follow steps to Create Desktop application credentials and get credentials.json
  4. Run the server node email.js

Notes