Mail for every project.
One fast inbox.
Mailroom is a self-hosted mail client for running many brands, clients and domains from one place. Connect any IMAP mailbox, group mailboxes into projects, and give each person only the mailboxes they need.
- Open source
- MIT license
- Self-hosted
- Any IMAP mailbox
A mail client built for many mailboxes.
Run support, billing and sales for several brands without switching accounts or sharing passwords.
- push
New mail in seconds
Every inbox stays connected over IMAP IDLE, so new mail shows up as it arrives. No polling every few minutes.
- projects
Projects, not just accounts
One project per brand or client, with its domains and mailboxes. Read everything at once, one project, or one mailbox.
- access
Access per mailbox
Owner, admins and members. Give someone a whole project or only the two mailboxes they answer.
- compose
Undo, schedule, snooze
Undo send for a few seconds, send later at a set time, snooze a thread until it matters again.
- templates
Saved replies and signatures
Templates for yourself or shared with a project. A signature per mailbox, with a logo, and your own override.
- domains
Domain health
MX, SPF, DKIM, DMARC, reverse DNS and blocklists for every domain, with the exact records to add.
- 2fa
Two-factor for everyone
Every account needs a passkey or an authenticator app. Recovery codes, and admins can reset a person.
- api
An API for your apps
Scoped tokens, webhooks, live events and the mailroom-sdk package. Your apps send through Mailroom, not raw SMTP.
- mcp
Connect your AI apps
Claude, ChatGPT, Cursor and other MCP clients can read, sort, draft and send, with the access you choose.
Every mailbox in one list.
Mail from every project lands in one inbox, with the domain it came to on each row. Narrow it to one project or one mailbox from the sidebar, or search all of it. The newest page loads right away and the rest of the history syncs in the background.
- Newest mail first, full history after
- Search across every mailbox
- Right-click any row
Keyboard first
- cCompose
- /Search
- jkNext, previous
- xSelect
- rReply
- aReply all
- fForward
- eArchive
- #Delete
- sStar
- ⇧UMark unread
- ⌘↵Send
Send from any mailbox you can use.
Pick the mailbox in From and it goes out through that mailbox's own SMTP server, so the domain's SPF and DKIM stay valid and a copy lands in its Sent folder.
Undo send
Every message waits in the outbox for your undo window, 10 seconds unless you change it. Undo puts it back in the composer as you left it.
New messageFromNorthwind <hello@northwind.co>ToMarco BelliniMonday at 11 works. I'll send the agenda on Friday.SendSending...UndoSend later
The arrow next to Send schedules it: this evening, tomorrow, Monday, or any date and time. It waits under Scheduled until then.
Schedule sendThis eveningThu 18:00Tomorrow morningFri 08:00Tomorrow afternoonFri 13:00Monday morningMon 08:00Pick date and time...Saved replies
Templates you keep for yourself or share with a project, one click away in the composer. Answer the tenth return request the same way as the first.
FromJuniper Goods <orders@juniper.shop>SubjectRe: Return requestHi Sam,
Sorry about the shade. A replacement is on its way today, and there is no need to send the broken one back.
SendTemplatesOrder shippedJuniperReplacement on its wayJuniperInvoice attachedNorthwindOut until MondayMineSignatures with a logo
Each mailbox has its signature, images included, and you can set your own on top. Replies from billing@ sign as billing.
billing@northwind.coAlex MorenoBilling, Northwindnorthwind.coSnooze
Hide a thread until later today, tomorrow, the weekend or next week. It comes back to the top of the inbox on time.
Snooze untilLater todayThu 17:00TomorrowFri 08:00This weekendSat 09:00Next weekMon 08:00Drafts that follow you
A draft saves to the server as you type, so it opens where you left it on another computer or your phone. Images go inside the message, sized by dragging a corner.
- Rich text and inline images
- Attachments
- Reply, reply all, forward
- Several drafts open
Organized by project.
One place for every brand you run. Mailboxes stay connected on the server, so nobody needs the mailbox password to read or send.
A project per brand or client
A project holds the domains and mailboxes that belong together, with a color you will see on every row from it. Connect any IMAP and SMTP mailbox: the settings for common providers fill in from the address.
- Any IMAP and SMTP server
- Drag to reorder
- Hide what you never read
- Passwords encrypted at rest
People see only what you share
Admins see every project. Members get a whole project, or only the mailboxes they answer, and nothing else shows up for them: not in the inbox, not in search, not over the API.
- Owner, admins, members
- Per project or per mailbox
- Disable an account
- Reset a lost passkey
Your name and logo
Rename the app and give it your logo under Settings. The tab, the sidebar and the icon on people’s home screens use it, so the team sees your mail tool, not ours.
- App name
- Logo
- Home screen icon
Know why mail lands in spam.
Every domain in a project gets a health score from nine checks, with what is wrong in plain words and the record that fixes it.
- MX
- SPF
- DKIM
- DMARC
- Reverse DNS
- Blocklists
- MTA-STS
- TLS reporting
- BIMI
TXTName_dmarc.northwind.coValuev=DMARC1; p=quarantine; rua=mailto:dmarc@northwind.coThe record to add
A failing check shows the type, name and value of the DNS record that fixes it, each with a copy button.
SPF that adds up
Counts the DNS lookups against the limit of 10 and checks that the servers your mailboxes send through are allowed.
Blocklists and reverse DNS
The sending servers are checked against the common blocklists, and their addresses need a name that points back.
Knows your provider
Google Workspace, Microsoft 365, Fastmail, Zoho, Proton and more are recognized, with their own records. Checked again every 12 hours.
Let your AI assistant work your inbox.
Mailroom is an MCP server. Connect Claude, ChatGPT, Cursor or any other MCP app with one URL, decide what it may do and which mailboxes it sees, and take it back whenever you like.
Use your own Mailroom's address in place of mail.example.com.
- Claude
- ChatGPT
- Cursor
- VS Code
- Claude Code
- Codex
- Gemini CLI
- Windsurf
Paste one URL
Add Mailroom as a connector or MCP server in your AI app: your Mailroom's address with /mcp at the end. Apps that support it add it in one click.
Sign in and approve
The app sends you to Mailroom. Sign in as usual, with your passkey or code, then choose what the app may do and which mailboxes it sees.
Ask
Find, summarize, sort and answer mail in plain words. The app only reaches the mailboxes you picked, and never more than you can see yourself.
What it can do
The access you pick decides which of these the app gets. Every change it makes is yours to see in Mailroom, like any other.
Search and read
Search across mailboxes and read whole threads.
Organize
Mark read, star and archive.
Write drafts
Drafts wait in Drafts for you to check and send.
Send and reply
Sends go through the outbox with your undo delay, like your own.
Every connection in Settings
Each app you connect is listed with its access, its mailboxes and when it was last used. Disconnect it and it loses access at once, without touching your other apps or your API tokens.
Shared mail without shared passwords.
Two-step sign-in for everyone
Every account needs a passkey (Touch ID, Face ID, Windows Hello, a security key) or an authenticator app, with recovery codes for the day you lose both.
Mail that cannot run code
HTML is cleaned and shown in a sandboxed frame with scripts off. Remote images stay hidden until you allow them, so senders cannot tell you opened their mail.
Mailbox passwords stay on the server
They are encrypted with your server’s secret and used only to connect. People read and send without ever seeing them.
Sessions you can see
Every browser and device you are signed in on, with a button to sign out the others. Failed sign-ins are throttled.
Your 20% partner discount ends Friday. Reorder before then to keep the price.
Wherever you read mail.
The same inbox in the browser, as an app on your phone, and in a native Mac app. Changes show up everywhere at once over one live connection, so a thread you archive on the Mac is gone on your phone.
- Live updates
- Notifications per mailbox
- Unread badge
- Sign in with a code from the browser
Web app
Three panes on a laptop, one at a time on a phone. Light and dark.
On your home screen
Install it from the browser on iPhone, Android or desktop. It opens like an app, with your logo.
Push notifications
One per new email, even with the app closed. Pick the mailboxes that may notify you.
Native Mac app
SwiftUI, with compose windows, an unread badge on the Dock and the shortcuts you know from Mail.
Your apps send through Mailroom.
Stop pasting SMTP passwords into every service. Make a token, and your apps send, receive and reply from the same mailboxes your team reads, with every message in Sent.
Scoped tokens
All your mailboxes, or only some projects or mailboxes. Read, send or both, and never more than the person who made it.
Live events
One connection for new, sent and failed mail. It reconnects by itself and picks up from a cursor, so nothing is missed.
Signed webhooks
Every event POSTed to your URL, signed with the token’s secret. Old deliveries are refused, so a captured one can’t be replayed.
React email templates
Pass a react-email or jsx-email element and it becomes html and plain text. Images go inline by cid.
Safe retries
An idempotency key sends once however often you retry. Schedule with sendAt, or wait until the mail server took it.
Plain HTTP underneath
No SDK needed: a JSON API under /api with a bearer token, server-sent events or long polling.
import { Mailroom } from 'mailroom-sdk'
const mail = new Mailroom() // MAILROOM_URL, MAILROOM_TOKEN
const support = mail.mailbox('support@northwind.co')
// Send through the mailbox's own server, from a React template
await support.send({
to: 'dana@kestrel.studio',
subject: 'Your ticket',
react: <TicketUpdate id={1042} />,
})
// New mail as it arrives, replies in the same thread
support.on('message', async msg => {
await msg.reply({ text: 'Thanks, we got it.' })
await msg.markRead()
})Your server, your mail.
Two Docker images for amd64 and arm64: the web app, and the server that runs as the API and as the sync worker. Postgres keeps the mail and Redis carries live events, both on your own machine.
Read the self-hosting guide- mailroom-webthe only public one
- mailroom-serverAPI
- mailroom-server workerIMAP sync, sending
- postgres, redisyours
All your projects' mail, one place.
Free and open source under the MIT license. Bring a server with Docker.