Send Gmail messages to your Discord channel using Google Apps Script
- Create a new Google Apps Script project at https://script.google.com/
- Run:
deno run --allow-net --allow-read --allow-env --allow-run https://raw.githubusercontent.com/takker99/gmail2discord/main/build.ts > main.gs
- Copy the contents of
main.gs
to your Google Apps Script project - set
DISCORD_WEBHOOK_URL
in the script properties - add cheerio's script
ID(
1ReeQ6WO8kKNxoaA_O0XEQ589cIrRvEBA9qcWpNqdOP17i47u6N9M5Xh0
) to your project - set an trigger to run
hook
function
If you check typescript files, run:
deno check --remote main.ts executeWebhook.ts && deno check --remote build.ts deps/*.ts