selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

HQBase logo

Self-host HQBase

v1.4.0

Shared email workspace running on Cloudflare Workers

BetaOpen SourceAGPL-3.0
Updated10 hours ago
LanguageTypescript
Setup difficultyAdvanced
MobilePWA
Stars
350
Ports
5173 (Vite dev server (frontend)), 8787 (Wrangler Worker dev server (API))
Requires
Cloudflare R2 (active subscription), Cloudflare Workers Paid plan

What is HQBase?

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.

Should you self-host HQBase?

HQBase scores 50/100 on selfhost.directory (how scoring works) and ranks #56 of 106 in Email. It has 350 GitHub stars.

It shipped 9 stable releases in the past year. The latest, v1.4.5, came out on 12 October 2026. New versions land roughly every 1 days.

Setup is advanced: plan for several services and some ongoing maintenance. It is AGPL-3.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Listmonk (80/100, 24 017 stars). It scores higher overall, so compare the two before you pick. See HQBase vs Listmonk side by side.

Features

  • AI agent mailboxes
  • Drafts and audit history
  • Multi-domain support
  • OAuth-protected MCP server
  • Shared mailboxes
  • Team access controls
  • Verified releases with rollback

HQBase README

How to configure HQBase

  • BETTER_AUTH_SECRETSecret protecting sign-in sessions, generated during installation

    Secret protecting sign-in sessions, generated during installation

  • HQBASE_LOCAL_SEED_PASSWORDLocal development seed password (8-128 characters)

    Local development seed password (8-128 characters)

    values: 8 to 128 characters

  • VAPID_PRIVATE_KEYPrivate key for Worker to prove push notification ownership

    Private key for Worker to prove push notification ownership

  • VAPID_PUBLIC_KEYPublic key for browser push notification subscriptions

    Public key for browser push notification subscriptions

HQBase releases & version history

FAQ

How is HQBase different from Cloudflare Agentic Inbox?

The FAQ lists this question but does not provide an answer in the loaded sources.

What do I need before deploying?

You need a Cloudflare Workers Paid plan, an active R2 subscription, and a domain using Cloudflare DNS.

More in Email

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…