Skip to content

Repository files navigation

Handle incoming email and forward as HTTP request

Setup

Install dependencies

npm install

Setup webhook

Update WEBHOOK_URL, EXTRA_HEADERS in wrangler.toml

or

wrangler secret put WEBHOOK_URL
wrangler secret put EXTRA_HEADERS

Deploy the worker

npm run deploy

Set up a route

  • Go to your zone's Email Workers settings.

  • Click the zone (e.g. example.com), then Email, Email Routing.

  • On the Email Workers tab, register an email route.

  • Register an email route

Verify

  • Send an email to the email address you registered.
  • Check the channel you registered the webhook to.

About

Email worker to enable webhook for incoming email cloudflare

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages