openflarestack Star this repo
  1. Catalog
  2. Email
  3. cfw-mailbox
Ranked 112 of 437

cfw-mailbox

Prastavna/cfw-mailbox

Run a free Gmail-style inbox on your domain, kept locally and synced via Cloudflare.

A self-hosted alternative to Gmail.

What it sets up in your account

  • R2
    R2 bucket
    Storage for files and uploads.
  • DO
    Durable Objects
    Keeps live sessions and realtime state.
  • AI
    Workers AI
    Runs AI models inside your account.
  • Em
    Email
    Sends and receives mail on your domain.
Category
Email
Licence
Apache-2.0
Stars
72
Last commit
today
Latest release
v0.2.0

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/cfw-mailbox.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/cfw-mailbox.json
    Open

More in the API docs and llms.txt.

Keeping it up to date

The Deploy button copies the repo into your GitHub. Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/Prastavna/cfw-mailbox.git
git pull upstream main
npx wrangler deploy

cfw-mailbox questions

What is cfw-mailbox?

Run a free Gmail-style inbox on your domain, kept locally and synced via Cloudflare. It’s an open-source, self-hosted alternative to Gmail. It runs on Cloudflare Workers in your own account.

What does cfw-mailbox set up in my Cloudflare account?

R2 bucket, Durable Objects, Workers AI and Email. They are created in your account, so the data stays yours.

How do I deploy cfw-mailbox?

Press Deploy to Cloudflare. Cloudflare copies the repository into your GitHub account, creates what it needs and deploys it with Workers Builds.

Is cfw-mailbox free and open source?

Yes. It’s published under the Apache-2.0 licence. Running it uses your own Cloudflare account, and small setups usually fit in the free plan.

How do I update cfw-mailbox?

Pull from the original repository and redeploy: add https://github.com/Prastavna/cfw-mailbox.git as an upstream remote, run git pull upstream main, then npx wrangler deploy.