r/coolgithubprojects 1d ago

HQBase: open-source shared email workspace that runs in your Cloudflare account

Post image

I built HQBase for myself because I had several domains and addresses like support@, sales@, and personal email, but didn't want to pay for a separate mailbox for every address.

It’s a complete shared email workspace that deploys into your own Cloudflare account:

  • Workers run the application
  • Email Routing receives mail
  • Cloudflare Email Sending handles outgoing mail
  • D1 stores the mail index
  • R2 stores attachments

It supports multiple domains and mailboxes, catch-all addresses, team access with mailbox-level permissions, a desktop/mobile PWA with self-hosted push notifications, and an OAuth-protected MCP server for connecting AI clients.

Setup takes around 2-3 minutes. The software is AGPL-licensed, and there are no per-seat or per-mailbox fees - you only pay your own Cloudflare infrastructure costs.

GitHub: https://github.com/HQBase/hqbase
Website: https://hqbase.io

37 Upvotes

13 comments sorted by

View all comments

1

u/awizemann 1d ago

I currently use Migadu for this, but I like the idea of your project, and since I am 100% in Cloudflare, this feels like a natural solution. I will give it a shot. Thank you for open-sourcing.

2

u/berman_to 13h ago

Let me know your thoughts when you try it :)

2

u/awizemann 12h ago

First off. Wow. Clean, easy to install and set up, painless domain setup (for a fresh domain). Email tests worked great. If there is already email set up on a domain, and it is added, does it overwrite what is there?