A Self-Hosted Email Client Is a Team Decision, Not a Server Project
Search "self-hosted email client" and the results hand back a mail server. Guides on Mox, directory lists of Roundcube forks, forum threads debating SPF records, all answering a question nobody on a growing team actually asked: how do you run your own delivery infrastructure. The decision facing an admin whose team shares legal@, sales@ and support@ is narrower and more practical. A self-hosted email client needs to keep reply identities correct, isolate tenants, and support SSO, on infrastructure you control, without forcing you to also own mail delivery.
What does a self-hosted email client actually mean?
An email client reads messages over IMAP and sends them over SMTP; the application your team opens to read and reply. A mail server accepts incoming mail, queues outgoing mail, and defends sender reputation. Self-hosting the client only means running that application on your own infrastructure, not that server.

The distinction sounds obvious until you start comparing self-hosted webmail client options and notice they get bundled into one list. Roundcube and Cypht are IMAP/SMTP clients: install them, point them at any mailbox, and they render folders and compose windows in a browser. Mox is a mail transfer agent: install it, and you are now responsible for the thing that determines whether your outbound mail lands in an inbox or a spam folder. A team evaluating open source webmail alternatives needs to know which kind of software it is looking at before comparing features.
Why most self-hosted email advice answers the wrong question
Search results for self-hosted email client return Mox, a mail transfer agent, alongside Roundcube and Cypht, webmail clients, as though they solve the same problem. Mox handles delivery: queuing, SPF, DKIM, DMARC, blocklists. Roundcube and Cypht handle reading and replying. Picking from these lists without separating the two leaves a team maintaining IP reputation and deliverability it intended to own.
None of the ten results treat the commercial case: an admin with three shared addresses, a compliance requirement for tenant isolation, and a mandate to add SSO before the next audit. Such a buyer does not want to learn mail transfer agent configuration. The buyer wants legal@ to reply from legal@, every time, on infrastructure the company already runs.
Should you self-host the mail server too?
Keep mail on Google Workspace, Microsoft 365 or Fastmail and self-host only the client. Sender reputation, SPF, DKIM and DMARC records, and blocklist maintenance stay with a provider whose entire business is deliverability. Self-hosting the client gives you control over reply identity, tenant isolation and SSO, without the operational cost of running a mail transfer agent.
Running your own mail transfer agent means warming up an IP, monitoring blocklists, and rotating DKIM keys when a key leaks. None of that work touches what a shared-inbox team actually needs: correct reply routing, access control, and an audit trail. An on-premise email client that connects over IMAP and SMTP to a provider you already trust removes delivery risk from the self-hosting decision entirely.
The shared-address problem open-source webmail clients never solved

legal@, sales@ and support@ sitting in one inbox is a single mailbox, until someone replies from the wrong identity. Roundcube, SOGo and Cypht all support multiple identities, but every one of them asks the person composing a reply to pick the right one from a dropdown. Nothing enforces that choice. An employee replying to a support@ ticket while signed into a shared Roundcube session can send from sales@ by habit, and the client will not stop them.
- Roundcube: identity selected manually per compose window, defaults to whichever identity was used last.
- SOGo: identities configurable per user, not bound to the receiving address of a given message.
- Cypht: aggregates multiple accounts into one view but leaves reply-from selection to the user.
A shared team inbox built on any of these tools inherits a failure mode that only shows up after a client has already received a reply from the wrong department.
How does a self-hosted client make sure replies leave from the right address?
nameh stores which connected account received each message and sends the reply through that account's own SMTP server, not through a shared relay or a BCC trick. The From header, the signature and the routing all match the address the sender wrote to, enforced at the SMTP level rather than left to a dropdown a person must remember to set.
Each connected address also gets its own colour and place in the sidebar, so the person replying sees which account they are writing as before they finish typing, not just a label buried in a settings menu. Replying from the wrong address is not a habit nameh asks a team to break. Routing nameh does not permit replying from the wrong address.
What self-hosting changes about AI features in an email client
AI drafts never send on their own. Self-hosting an AI-enriched client does not remove that boundary: drafts are written for a human to review and approve before anything leaves the account. Only rules a team creates deliberately, such as auto-reply, forward or redirect, send without review, whether nameh runs on managed infrastructure or on your own Docker host.
Running the client on your own hardware raises a fair question: does self-hosting mean the AI acts with less oversight, since nobody outside the company is watching it anymore. The answer is no, because the drafting-versus-sending boundary is built into nameh's behaviour, not into who hosts it. Company context, the facts your team supplies, keeps drafts grounded and instructed not to invent details; nameh does not fabricate client names, dates or figures it was never given.
Multi-tenant isolation and the controls admins actually get audited on
A personal webmail install answers to one person. A team deployment answers to a security review, and the questions in that review are specific: can one tenant's data leak into another's queries, is mail encrypted at rest, can access be tied to an identity provider, and can permissions be scoped by role.
- Tenant isolation: enforced at the database level with PostgreSQL row-level security, so one tenant's queries cannot return another tenant's rows.
- Encryption at rest: AES-256-GCM applied to stored mail data.
- SSO: sign-in delegated to an identity provider rather than a local password per mailbox.
- Roles: permissions scoped so a support agent and an admin do not have identical access.
Is self-hosted email secure for business use? The answer depends on whether these four controls exist in the software, not on where the server happens to sit. A self-hosted email client for teams without row-level isolation is a personal webmail install wearing a team's logo.
What does deployment look like in practice?
Deployment runs through Docker Compose: you supply a host, a PostgreSQL database, TLS certificates and, if required, an SSO provider such as Okta or Azure AD. Existing IMAP and SMTP accounts connect as they are: no mailbox migration, no change of provider. Mail stays exactly where it already lives, on Google Workspace, Microsoft 365, Fastmail or any IMAP/SMTP server.
| You supply | Stays unchanged |
|---|---|
| Host (VM, bare metal, or cloud instance) | Existing IMAP/SMTP provider |
| PostgreSQL database | Existing mailbox contents and folder structure |
| TLS certificates | SPF, DKIM and DMARC records already configured with the provider |
| SSO provider (optional) | Existing sender reputation and IP history |
Docker Compose deployment is additive. Mail delivery, the part that takes years to build a reputation for, is left exactly where it was before nameh entered the picture.
How to choose between the self-hosted options
Choose Roundcube or Cypht for a single person reading one mailbox through a browser. Choose Mox if owning mail delivery, SPF, DKIM, DMARC and IP reputation is a goal in itself. Choose a multi-tenant client such as nameh when the unit of work is a shared address: legal@, sales@ or support@ handled correctly by a team, not a person.
| Tool | What it is | Fits best when |
|---|---|---|
| Roundcube | Single-user webmail client | One person, one mailbox, manual identity selection is acceptable |
| Cypht | Multi-account aggregator | One person watching several personal accounts at once |
| SOGo | Groupware webmail client | Calendar and contacts matter as much as mail |
| Mox | Mail transfer agent | Owning SPF, DKIM, DMARC and IP reputation is itself the project |
| nameh | Multi-tenant client with AI drafting | Shared addresses, reply-identity correctness, SSO and tenant isolation are required |
A team that picks Roundcube because it appeared first on a directory list gets a working webmail client and an unsolved identity problem. A team that picks Mox because the name kept coming up gets a mail server it now has to run, whether or not that was the project it signed up for. The question worth asking before either choice is simpler: is the unit of work a mailbox, or an address a team shares.
The Nameh Team
Verification code: vtq-458bd136-49f3-445c-be5f-437b7a35087c
This article was drafted with AI assistance and reviewed by its author before publication.
Related reading
One inbox for every address you write from.
Join nameh