Self-hosted email, no mail server to run.
Work Inbox is open-source email for teams, with chat, notes, calendars and a drive, that runs on your own Cloudflare account. Your mail stays in your account; Cloudflare carries it, so there's no port 25, no IP reputation and no machine to patch. Or use it hosted at workinbox.io.
Free for up to 5 people · then €1 per person a month · free on your own Cloudflare account · 14-day trial, no card
Self-hosted
Why self-hosting email is hard, and what's different here
Port 25
Home connections and many clouds block it, and your server must keep it open. Here mail goes in through Cloudflare Email Routing and out through Cloudflare Email Service: you open no ports.
IP reputation and the spam folder
A new server's IP has no sending history, and one bad neighbour can get it blocklisted. Here mail leaves from Cloudflare's network; you still publish SPF, DKIM and DMARC for your domain, and Work Inbox shows the records.
Uptime, patches and backups
A mail server that's down loses mail, and it needs updates. Work Inbox runs on Cloudflare Workers, D1 and R2: there's no machine to patch or keep running.
Compare
Next to mail servers you run yourself
From each project's own page (linked), checked 16 November 2026. They're full mail servers with IMAP and SMTP built in; Work Inbox is a workspace that leaves the mail transport to Cloudflare.
| Plan | What you run | Port 25 and sending | Beyond mail |
|---|---|---|---|
| Work Inbox self-hosted | Cloudflare Workers on your account; no server | Cloudflare's: Email Routing in, Email Service out | Team chat, notes, calendars, a drive, contacts |
| mailcow | A server or full VM (not a NAS or container platform), 6 GiB RAM + 1 GiB swap at least | You open 25 and the other mail ports | Not listed on the page we checked |
| Mail-in-a-Box | A fresh machine dedicated to it, Ubuntu 22.04, 512 MB RAM at least | You open 25 and set reverse DNS; home connections won't do | Contacts and calendar sync, a static website |
| mox | A machine running the mox binary | Your machine's | Not listed on the page we checked |
Hosted
Self-hosted or hosted
| Feature | Self-hosted | Hosted |
|---|---|---|
| Where your data lives | Your Cloudflare account: D1, R2, Durable Objects | Our Cloudflare account, in the same services |
| What it costs | What Cloudflare bills you: the Workers Paid plan and usage | Free for up to 5 people, then from €1 a person a month |
| Features | Every app and feature, no plans or limits from us | Every app; the API, writing AI apps and the audit log by plan |
| Mail domains | Your own domains, through Cloudflare Email Routing and Email Service | Your own domains, or a free <name>.workinbox.io address |
| IMAP and SMTP for mail apps | Optional: run the mail bridge (infra/mail), which needs a server | Included, at mail.workinbox.io |
| Who can sign up | The first account, then people you invite or add | Anyone; each team gets its own organization |
| Updates | You pull the code and deploy | We deploy them |
| Source code | AGPL-3.0, change what you like | The same code |
Self-host when
Your mail and files must stay in an account you control
You already run things on Cloudflare
You'd rather pay Cloudflare's usage than a price per person
You want to change the code
Use hosted when
You want it working today without looking after a deployment
You're 5 people or fewer: it's free
You want IMAP and SMTP for Apple Mail, Outlook and phones without running a server
You want a free address on workinbox.io while you set up your domain
- 1
Get the code
Clone the repository and run pnpm install. Node 22.18 or newer.
- 2
Run the setup
pnpm run setup asks for your address and sender, switches to self-hosted mode and creates the database, storage and queues.
- 3
Deploy
Set BETTER_AUTH_SECRET, onboard your mail domain in Cloudflare Email Service, then pnpm run deploy.
- 4
Receive mail
Point Email Routing's catch-all at the Worker, sign up as the first account and add your domain.
FAQ
Questions
Is self-hosting email worth it?
Running your own mail server means keeping port 25 open, earning an IP reputation and keeping the machine up; many people who self-host everything else skip it. Work Inbox self-hosted keeps your mail, files and accounts in your own Cloudflare account while Cloudflare carries the mail, so you get the control without running a mail server.
Will my mail land in spam?
Mail leaves through Cloudflare Email Service from your own domain. Publish the SPF, DKIM and DMARC records Work Inbox lists in Settings → Mail and check them there; that's what receiving servers look at first.
Do I need port 25 or a static IP?
No. Cloudflare receives your domain's mail and hands it to the Worker, and sends what you write. Only the optional IMAP and SMTP bridge for desktop and phone mail apps needs a server.
Is self-hosted Work Inbox really free?
We charge nothing for it. You pay Cloudflare for what it runs on: the Workers Paid plan and usage of D1, R2, Queues and Durable Objects.
Does self-hosted miss any features?
No app or feature is switched off. What you don't get is what we run for the hosted service: IMAP and SMTP at mail.workinbox.io (you can run the mail bridge yourself) and free workinbox.io addresses.
Can anyone sign up on my instance?
No. The first account becomes the admin; after that only people invited to the organization or added in Settings → Mail can get in.
Can I move between hosted and self-hosted?
Yes, through mail import: export .mbox files and import them in Settings → Mail → Import mail on the other side.
Do I need a server?
No. Work Inbox runs on Cloudflare Workers; there is no machine to patch. Only the optional IMAP and SMTP bridge needs a server.
Something else? Write to support@workinbox.io.