Send emails to Cloudflare and store them in SQLite (D1).
yarn install
wrangler publish
- Go to your zone's Email Workers settings.
- Click the zone (e.g.
example.com
), thenEmail
,Email Routing
. - On the
Email Workers
tab, register an email route.
- Send an email to the email address you registered.
- Check the channel you registered the webhook to.
- Change the
name
field inwrangler.toml
to deploy a separate worker with a separate secret (e.g. with a separate webhook for a test channel).
This package is MIT licensed.