openflarestack Star this repo
  1. Catalog
  2. Email
  3. Cloud Mail
Ranked 05 of 234

Cloud Mail

maillab/cloud-mail

Run a multi-user mail service on your own domain with attachments and an admin panel.

A self-hosted alternative to Gmail.

What it sets up in your account

  • AI
    Workers AI
    Runs AI models inside your account.
  • Cr
    Cron trigger
    Runs scheduled tasks.
  • D1
    D1 database
    A SQL database for the app’s records.
  • KV
    KV namespace
    A key value store for settings and fast lookups.
  • R2
    R2 bucket
    Storage for files and uploads.
Category
Email
Licence
MIT
Stars
14,661
Last commit
5 weeks ago
Latest release
v3.3.0

Use it with AI or code

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

More in the API docs and llms.txt.

Keeping it up to date

Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/maillab/cloud-mail.git
git pull upstream main
npx wrangler deploy

Cloud Mail questions

What is Cloud Mail?

Run a multi-user mail service on your own domain with attachments and an admin panel. It’s an open-source, self-hosted alternative to Gmail. It runs on Cloudflare Workers in your own account.

What does Cloud Mail set up in my Cloudflare account?

Workers AI, Cron trigger, D1 database, KV namespace and R2 bucket. They are created in your account, so the data stays yours.

How do I deploy Cloud Mail?

It installs from the command line. Follow the steps in the maillab/cloud-mail README.

Is Cloud Mail free and open source?

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

How do I update Cloud Mail?

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