HQBase
Shared team inbox for support@ and sales@ addresses on several domains, with access controls and an MCP server
HQBase inbox in dark mode: mail folders on the left and today's conversations across all mailboxes
HQBase is open-source team email that keeps the app, the mail and the Cloudflare credentials in your own Cloudflare account. A setup wizard connects your domains and turns on Email Routing and Email Sending, and every install and update verifies a signed release.
The Deploy to Cloudflare button installs the source of the latest signed stable release, and the first build generates BETTER_AUTH_SECRET and VAPID keys. The /setup wizard then asks for a short-lived Cloudflare OAuth permission instead of a pasted API token. HQBase uses it to check and create the required Cloudflare resources and set up mail for each domain, then revokes it. The wizard ends by creating the owner account and the first shared mailboxes. The workspace covers shared mailboxes with per-mailbox access, multi-domain setup, a composer with drafts, contacts, labels and audit history. A PWA client for desktop and mobile gets self-hosted push notifications. Herald, a native macOS client, is maintained by independent community developers, and the HQBase maintainers have tested it for compatibility. AI agents can have their own agent mailboxes and connect through the OAuth-protected remote MCP server or the Mail API, and the Worker serves SKILL.md files for mail, mailbox and provisioning tasks. The app is built with Hono, React, better-auth, Drizzle ORM and TipTap, and runs as a Worker with static assets. Email Routing delivers inbound mail to the Worker's email handler, and the send_email binding sends outbound mail. D1 stores data and R2 stores mail objects. A Durable Object handles mail events, a Queue with a dead-letter queue runs background jobs, and a cron trigger fires daily. Before an update, the updater verifies the signed release manifest and archive digest and records a D1 Time Travel bookmark.
Built for: Small teams and companies that want a shared inbox in their own Cloudflare account instead of a per-seat service.
What you can use it for
- Share support@ and sales@ mailboxes across a team on your own domain
- Handle mail for several domains in one workspace
- Give AI agents their own mailboxes through MCP
- Keep an audit history of mailbox activity
Deploy
One-click · main path
Branch main, requires Workers Paid
CLI
Branch main, requires Workers Paid
pnpm install pnpm hqbase install --name production
After the button deploy, the /setup wizard handles the Cloudflare configuration through a short-lived OAuth permission.
What it needs to run
- D1 databaseshqbase
- Durable ObjectsMailEvents
- Queues (consumer)hqbase-jobs
- Queues (producer)hqbase-jobs
- R2 bucketshqbase-mail
- Email sendingMAIL_SENDER
Good to know
The connected domain must be active on Cloudflare DNS in the same account, so domains on other DNS providers cannot be used. The owner must log in with an address outside the connected workspace domains. The project started in August 2026 and has a small contributor base.
Cost on Cloudflare
Paid Cloudflare plan required
The HQBase docs list Workers Paid as a requirement, and Cloudflare Email Sending to arbitrary recipients is only available on Workers Paid ($5 per month, 3,000 emails included). R2 needs an active subscription, which includes 10 GB-month of storage at no charge.
The estimate is based on Cloudflare’s documented limits and the app’s configuration. What you pay depends on your usage and plan.
Where this comes from
- Repositoryhttps://github.com/HQBase/hqbase
- App websitehttps://hqbase.io
- Documentationhttps://hqbase.io/docs/
An alternative to Gmail.
Listing history
- Oct 2, 2026 · HQBase listed
Similar apps
All Customer Support & Shared Inbox apps
Shared email inbox for people and AI agents, with reply drafts held for approval and a built-in MCP server
- Deploy
- One-click
- License
- Apache-2.0
- GitHub stars
- 331 stars
- Last commit

Transactional email API and shared team inbox built on Cloudflare Email Sending, Email Routing and D1
- Deploy
- CLI
- License
- MIT
- GitHub stars
- 252 stars
- Last commit

Email helpdesk for support teams of one to fifteen people who have outgrown group email
- Deploy
- One-click
- License
- ResolveHQ Source-Available License
- GitHub stars
- 202 stars
- Last commit