Skip to content

Forward email to a Discord channel with Cloudflare Workers

Notifications You must be signed in to change notification settings

jacksonisiah/cappuccino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy

An email worker created to send notifications to a Discord channel because people are too lazy to check inboxes.

requirements

  • Nodejs
  • Yarn
  • Cloudflare email worker
  • Make

setting up

Set your Discord webhook WEBHOOK_URL, fallback email FALLBACK_EMAIL, and SENTRY_DSN in the Cloudflare Dashboard (Workers>Settings>Environment variables).

Change the destination and forwarding emails in index.js as well as any embed changes you may want to make.

Create a .env with your sentry org and project (as well as authenticate with sentry-cli) to enable Sentry.

Run make after configuring and authenticating with Cloudflare to start your worker.

license

MIT

About

Forward email to a Discord channel with Cloudflare Workers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published