A self-hosted email client with an AI agent, running entirely on Cloudflare Workers
TypeScript
Update Access setup to reference one-click Cloudflare Access for Workers
Thomas Gauvin58e68cd7dc44
diff --git a/README.md b/README.mdindex 5f44771..43509f7 100644--- a/README.md+++ b/README.md@@ -27,7 +27,7 @@ Click the button above to deploy to your Cloudflare account. The deploy flow wil1. **Set up Email Routing** -- In the Cloudflare dashboard, go to your domain > Email Routing and create a catch-all rule that forwards to this Worker2. **Enable Email Service** -- The worker needs the `send_email` binding to send outbound emails. See [Email Service docs](https://developers.cloudflare.com/email-routing/email-workers/send-email-workers/)3. **Create a mailbox** -- Visit your deployed app and create a mailbox for any address on your domain (e.g. `[email protected]`)-4. **Configure Cloudflare Access** -- Create an Access Application for your Worker URL under Zero Trust > Access > Applications. Copy the Audience tag to `POLICY_AUD` and your team domain to `TEAM_DOMAIN`+4. **Configure Cloudflare Access** -- Enable [one-click Cloudflare Access](https://developers.cloudflare.com/changelog/post/2025-10-03-one-click-access-for-workers/) on your Worker under Settings > Domains & Routes. The modal will show your `POLICY_AUD` and `TEAM_DOMAIN` values## Featuresdiff --git a/package.json b/package.jsonindex fa3a8ae..48d296f 100644--- a/package.json+++ b/package.json@@ -11,10 +11,10 @@"description": "Your domain with [Email Routing](https://developers.cloudflare.com/email-routing/) enabled (e.g. `example.com`). After deploying, create a catch-all Email Routing rule pointing to this Worker."},"POLICY_AUD": {- "description": "Your [Cloudflare Access](https://developers.cloudflare.com/cloudflare-one/policies/access/) Application Audience (AUD) tag. Find it under **Zero Trust > Access > Applications > your app > Overview**."+ "description": "Enable [one-click Cloudflare Access](https://developers.cloudflare.com/changelog/post/2025-10-03-one-click-access-for-workers/) on your Worker under **Settings > Domains & Routes > Enable Cloudflare Access**. Both `POLICY_AUD` and `TEAM_DOMAIN` appear in the modal."},"TEAM_DOMAIN": {- "description": "Your Cloudflare Access team domain, e.g. `https://your-team.cloudflareaccess.com`. Find it under **Zero Trust > Settings > Custom Pages**."+ "description": "Your Cloudflare Access team domain, e.g. `https://your-team.cloudflareaccess.com`. Shown in the modal when you [enable Cloudflare Access](https://developers.cloudflare.com/changelog/post/2025-10-03-one-click-access-for-workers/) on your Worker."}}},