# HQBase

> HQBase is a self-hosted, open-source shared email workspace for teams running on Cloudflare Workers, D1, and R2 with full data control.

- **Category:** Email
- **Licence:** AGPL-3.0
- **Latest version:** v1.4.0
- **Open source:** oss
- **Languages:** Typescript, JavaScript
- **Platforms:** Cloudflare Workers
- **Tags:** Email, Mcp, Pwa, Team Collaboration, Agpl, Self Hosted, Cloudflare Workers, Ai integration, Multi domain, Shared Inbox, Audit History

## Description

This project gives teams a shared email workspace that lives entirely in their own Cloudflare account. It deploys as a Worker with D1 for searchable mail data and R2 for message storage, while Queues handle background jobs. You get shared mailboxes with granular permissions, multi-domain support, drafts, and an audit trail. An OAuth-protected MCP endpoint lets AI assistants read, compose, and send messages. A progressive web app works on desktop and mobile with self-hosted push notifications. A one-click deployment flow provisions all required Cloudflare resources. The codebase uses AGPL-3.0-only licensing and a community macOS client named Herald is available. Operating it requires a Workers Paid plan, an R2 subscription, and a domain on Cloudflare DNS.

## Links

- [Homepage](https://github.com/hqbase/hqbase)
- [Website](https://hqbase.io)
- [Documentation](https://hqbase.io/docs/)
- [GitHub Repository](https://github.com/HQBase/hqbase)
- [Discord Community](https://discord.gg/U67PB663nf)
- [Deploy to Cloudflare](https://deploy.workers.cloudflare.com/?url=https%3A%2F%2Fgithub.com%2FHQBase%2Fhqbase%2Ftree%2Fdeploy)

---
Source: https://selfhost.directory/project/hqbase