← Back to Leaderboard
Ccloudmail-hq

cloudmail-hq/cloudmail

Cloudflare Workers webmail with dedicated inboxes and send approval for AI agents

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
B+ · 73/100
Maintenance Activity
● Updated today
Latest Release
v1.6.0
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption12/25
Release Cadence20/20
License Clarity6/20
Self-HostedMCPCLIAPI
Total Stars
★ 103
24h Growth
+7
7d Growth
+102
Forks
14

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

cloudmail-hq/cloudmail Star History (2026-11-25 - 2026-12-04) DAILY STAR HISTORY (10-DAY D1 TELEMETRY) +102 in 9d · avg +11/day 109 55 0 2026-11-25: ★ 12026-11-26: ★ 12026-11-27: ★ 12026-11-28: ★ 12026-11-29: ★ 12026-11-30: ★ 62026-12-01: ★ 672026-12-02: ★ 932026-12-03: ★ 1032026-12-04: ★ 103 ★ 103 11-25 11-29 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Cloudflare Email Routing sends inbound mail to a TypeScript Worker that serves both a Hono API and a React Router 7 server-rendered web client. Each mailbox has its own SQLite-backed MailboxDO. AuthDO holds accounts, sessions, tokens, domains, and licensing state. R2 stores raw messages, attachments, and exports; Vectorize uses a separate namespace for each mailbox's semantic index.

The React 19 client uses TanStack Query and TipTap for data fetching and rich-text composition. Assistant execution lives in a Cloudflare Agents SDK Durable Object; other objects handle webhooks, events, and MCP. The integration surface is the same deployment: agents can use OAuth-authenticated MCP, a CLI, REST, or OpenAPI-derived SDKs. Mailbox-sized storage is a clear isolation boundary, but these components tie the runtime to Cloudflare rather than to a portable Node.js mail server.

Key Capabilities & Differentiators

Cloudmail combines multi-domain webmail, aliases and catch-alls, and role-based shared inboxes. The web client supports threads, search operators, snooze, scheduled sending with a 30-second undo window, and follow-up sequences that stop on reply. Outbound delivery can use Cloudflare Email Service, Amazon SES, or Resend on a per-domain basis, with suppressions, unsubscribe headers, and a spam-rate circuit breaker.

Workers AI or an Anthropic- or OpenAI-compatible gateway backs features such as summaries, triage, semantic search, inbox Q&A, and reply drafting. The agent interface includes 73 MCP tools, CLI JSON output, TypeScript and Python SDKs, and REST with idempotency keys and signed webhooks. A separate mailbox and token give each agent a distinct identity. Agent and API-token sends require human approval by default, and agents cannot approve their own sends.

Trade-offs & Limitations

Compared with Google Workspace or Microsoft 365, Cloudmail replaces email, not the office suite. It provides shared mailboxes and agent identities without a per-seat application fee, but omits calendars, contact sync, documents, and calls. Mail clients need mail-only Exchange ActiveSync with an app password; Cloudmail is not an IMAP or SMTP server, so existing client and relay workflows need a compatibility check.

Self-hosting puts mail storage in your Cloudflare account, not on infrastructure independent of Cloudflare. You take on DNS, routing, provider configuration, and delivery checks. An external AI gateway or sending provider also changes where data is processed. The public source is described as fair source; check the license files before relying on reuse or redistribution rights. After the seven-day trial, a one-time $9 or $29 application license is required, separate from Cloudflare and provider charges. The application checks in with the vendor for licensing.

Hardware & Deployment Guide

Use the guided Cloudflare deploy or Wrangler; local build and test tooling requires Node.js 22.5+. Enable R2 first, retain the suggested Worker name because routing rules and mailbox Durable Objects are tied to it, and set SETUP_TOKEN and AUTH_SECRET separately. Create the owner at /setup, connect a Cloudflare token, and review planned MX and catch-all changes before applying them. Migrate existing mail before switching providers, then test inbound and outbound delivery.

Workers Free can receive mail, but Cloudflare's outbound sender is limited to verified recipients there; SES or Resend can cover external recipients. Free-plan CPU and daily quotas also matter for large messages and AI work. The usual Workers Paid baseline is about $5 per account per month, with 3,000 Cloudflare-sent messages included. For upgrades, v1.4.0 calls out a manual step, v1.5.0 adds conversation context to send approval, and v1.6.0 writes message.received with the message and retries failed handoffs to the webhook service.

Storage: One SQLite Durable Object per mailbox, with raw messages and attachments in R2 and a per-mailbox Vectorize namespace.
Agent integration: OAuth MCP with 73 tools, a CLI with JSON output, OpenAPI-derived TypeScript and Python SDKs, and REST with idempotency keys.
Send control: Agent and API-token sends require human approval by default; v1.5.0 added full thread context to the approval view.
Event durability: v1.6.0 persists message.received alongside the inbound message and retries failed handoffs to the webhook service.
AI backends: Workers AI or an Anthropic- or OpenAI-compatible gateway for summaries, triage, inbox Q&A, and reply drafting.
Mail transport: Cloudflare Email Routing for inbound mail, with Cloudflare Email Service, Amazon SES, or Resend for outbound delivery.
Best For

Teams that operate custom-domain mail on Cloudflare and want shared webmail plus dedicated agent inboxes with human approval for outbound messages.

Skip If

You need IMAP or SMTP server compatibility, a full productivity suite, deployment outside Cloudflare, or a mail service whose DNS and delivery setup someone else manages.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedMCPCLIAPI
claude mcp add --transport http cloudmail https://mail.example.com/mcp

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
cloudmail ★103+102TypeScript—Cloudflare Workers webmail with dedicated inboxes and send approval for AI agent
TrendRadar64.1k+181TypeScriptGPL-3.0Self-hosted trend monitor for ranked news, RSS, and web search, with MCP and ale
n8n213.1k+787TypeScript—Visual Node.js platform for self-hosted workflows and multi-step AI agents
activepieces25.9k+104TypeScript—Self-hosted TypeScript automation with visual workflows and reusable MCP tools

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/cloudmail-hq/cloudmail.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

cloudmail-hq/cloudmail Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about cloudmail

How should an agent integrate without sending mail unchecked?

Give the agent a dedicated mailbox and token, then connect through OAuth MCP, the CLI, an SDK, or REST. Treat a send awaiting approval as pending, not delivered: agent and API-token sends are held by default, and an agent cannot approve its own send. Use signed webhooks for inbound event integration.

Do I need a GPU or a dedicated server, and what should I size for?

No dedicated GPU or VRAM is required to run the mailbox application. It runs on Cloudflare Workers and uses Workers AI or a configured model gateway. Node.js 22.5+ is the repository's build and test requirement, not a production mail server you maintain. Size the deployment against Worker CPU, request and write quotas, model usage, and mail volume.

Does public source mean I can run or redistribute it without a license?

No. The source is public and described as fair source, but the supplied metadata does not identify the precise license. Review LICENSE and LICENSES/ before redistribution or commercial use. A deployment runs for seven days without a key, then requires a one-time $9 or $29 application license. Cloudflare and any external sending provider bill separately.

Can it replace Google Workspace or Microsoft 365?

It can replace the email portion if you need custom domains, shared mailboxes and agent access, and can operate Cloudflare routing and DNS. It does not replace calendars, documents, storage, calls, or contact sync. Test existing clients before migrating: third-party mail access is via Exchange ActiveSync with an app password, not IMAP.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining cloudmail-hq/cloudmail? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature cloudmail-hq/cloudmail on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare