Blog/ Best email clients by platform

Best Email Client for a Self-Hosted Mail Server (2026)

Nafiul HasanNafiul Hasan· 13 min read
Ranked shortlist of the best email clients for a self-hosted mail server like Mailcow or Mail-in-a-Box, comparing IMAP fidelity, Sieve rule support, and certificate handling

The short answer

For a self-hosted mail server, use a client that speaks standard IMAP over TLS and leaves filtering to Sieve rules on the server. Thunderbird is the purest desktop choice, SOGo (Mailcow) and Roundcube (Mail-in-a-Box) are the bundled webmail, and AI Emaily adds AI drafting if you accept credentials stored with a hosted service.

The best self hosted email client for your own mail server, plus self-hosted webmail, ranked on IMAP fidelity, Sieve support and certificate handling.

On this page
  1. 01Pick in 30 seconds
  2. 02How we compared clients for a self-hosted mail server
  3. 03Best self-hosted email clients, compared
  4. 04Mozilla Thunderbird: the purest standards client, and the Linux answer
  5. 05SOGo: the webmail Mailcow ships, and probably the one you already have
  6. 06Roundcube: the webmail Mail-in-a-Box ships, plus ManageSieve
  7. 07Best self-hosted webmail clients (SOGo, Roundcube, SnappyMail, Cypht)
  8. 08AI Emaily: best if you want AI drafting and accept a hosted client
  9. 09Apple Mail: the built-in choice on Apple hardware
  10. 10eM Client: Windows and Mac, with deep client-side rules
  11. 11MailMate: the standards-strict macOS client
  12. 12Thunderbird for Android: the mobile companion to the desktop
  13. 13What Sieve support actually gets you
  14. 14Is it safe to connect a cloud email app to my own server?
  15. 15The short answer, one more time

The best self hosted email client is one that treats your server as the source of truth: standard IMAP over TLS, SMTP submission, and filters kept as Sieve rules on the server. Thunderbird is the purest desktop pick. SOGo and Roundcube, bundled with Mailcow and Mail-in-a-Box, are the webmail answer. AI Emaily adds AI drafting, at the cost of a hosted credential.

This page is about the client that sits in front of your Mailcow, Mail-in-a-Box, iRedMail or hand-rolled Postfix and Dovecot box. If you are still choosing the server itself, start with whether self-hosting email is worth it and our guide to setting up Mailcow.

Pick in 30 seconds#

Three kinds of reader land here: people who want a desktop or mobile client, people who want webmail they install on the box, and people who want an AI layer on top. Find your line.

  • Mailcow user: SOGo, already installed, with a built-in Sieve filter editor.
  • Mail-in-a-Box user: Roundcube, already installed, with the ManageSieve plugin enabled.
  • Desktop client, any OS including Linux: Thunderbird, plus the third-party Sieve tool if you want to edit server rules from your desktop.
  • Lighter or multi-account webmail you install yourself: SnappyMail or Cypht.
  • Want AI drafting and approval-first send on top of your box: AI Emaily, if you accept that a hosted service holds your IMAP credential.

How we compared clients for a self-hosted mail server#

A client that handles Gmail well can still be the wrong choice for a Mailcow or Mail-in-a-Box mailbox. Gmail’s API hides most of the protocol; a self-hosted Dovecot expects the client to speak IMAP as written and to leave the server’s filtering alone. We used the same five criteria for every option.

  • Standard IMAP and SMTP: connects to any IMAP server on the standard ports, including a hostname you named yourself.
  • Certificate handling: accepts a valid Let’s Encrypt certificate without fuss, and makes you decide consciously about a self-signed one.
  • Sieve support: can edit filters on the server over ManageSieve, so they run for every device, rather than pushing you to client-side rules.
  • Respect for the server’s spam handling: works with the Rspamd or SpamAssassin verdict your server already applies.
  • Where your credentials live: only on your server and your devices, or also with a hosted service.

Best self-hosted email clients, compared#

ClientSieve editorPlatformsWhere your credentials liveBest for
Mozilla ThunderbirdVia the third-party Sieve toolWindows, macOS, LinuxYour deviceThe purest standards desktop client, and the Linux answer
SOGo (webmail)Yes, built inAny browserYour serverMailcow users who want webmail plus calendar and contacts
Roundcube (webmail)Yes, ManageSieve pluginAny browserYour serverMail-in-a-Box and cPanel users
SnappyMail (webmail)Yes, Sieve script editorAny browserYour serverA light, fast webmail you install yourself
Cypht (webmail)Yes, optional Sieve moduleAny browserYour serverOne webmail view across several accounts
AI EmailyNo, client-side rules onlyWeb, macOS (Apple silicon), Windows, iOSYour server and our cloud (encrypted)AI drafting and approval-first send on top of the box
Apple MailNomacOS, iOS, iPadOSYour deviceApple-only households running rules from the server webmail
eM ClientNo, client-side rules onlyWindows, macOS, iOS, AndroidYour deviceDeep client-side rules and a built-in calendar
MailMateNo, client-side rules onlymacOSYour deviceStandards-strict macOS power users
Thunderbird for AndroidNo, rules live on the serverAndroidYour deviceThe Android companion to Thunderbird desktop

Mozilla Thunderbird: the purest standards client, and the Linux answer#

Thunderbird is what an IMAP client looks like after two decades of work on the protocol. It shows your Dovecot folder tree exactly as published, handles custom IMAP keywords, keeps an IDLE connection per account for push, and supports several sending identities per account without a plugin. It is the only client here with a first-party Linux build. Free and open source.

Sieve editing is not built in. The long-standing route is the third-party Sieve project by Thomas Schmid, which speaks ManageSieve to your server and ships both as a Thunderbird add-on and as a standalone app for Windows and Linux. Its latest release notes cover Thunderbird compatibility only up to version 91, so on a current Thunderbird the standalone app is the safer choice; check the project’s GitHub releases first.

What you do not get is any AI layer. Thunderbird triages nothing and drafts nothing. For many self-hosters, especially those who built the server to keep software minimal, that is the point.

SOGo: the webmail Mailcow ships, and probably the one you already have#

SOGo is the groupware webmail bundled with Mailcow, so if that is your stack it is already running on the same box. It works in any browser, keeps everything on your server, and puts mail, calendar and contacts behind one login.

Its headline feature for self-hosters is the built-in filter editor. Rules you build in its preferences are written to your server’s Sieve store, so a rule set once fires the same way on your phone, in Thunderbird, or in SOGo itself. Rules live where the mail lives.

The trade-offs are the usual webmail ones: no offline reading, notifications through the browser, and an interface short of a modern desktop client’s polish.

Roundcube: the webmail Mail-in-a-Box ships, plus ManageSieve#

Roundcube is the webmail bundled with Mail-in-a-Box and offered by most cPanel hosts. Its core is lean IMAP webmail; its plugins carry the self-hosting features. Mail-in-a-Box’s setup enables the ManageSieve plugin, which adds a Filters tab for editing your server’s Sieve rules, along with password-change, archive and CardDAV plugins.

Like SOGo it has no offline mode or native notifications, and it does not ship a calendar the way SOGo does, which is part of why Mailcow chose SOGo and Mail-in-a-Box chose Roundcube. If one is already running on your box, it is a legitimate answer. For the full head-to-head, see SOGo vs Roundcube head to head.

Best self-hosted webmail clients (SOGo, Roundcube, SnappyMail, Cypht)#

If you are choosing self-hosted webmail rather than accepting what your stack bundles, two more projects are worth knowing.

SnappyMail is a fork of RainLoop Webmail: light, fast, no database required, with an advanced Sieve script editor, dark mode and stronger PGP support listed in its README. It is actively released, but one maintainer publishes every release, so weigh that bus factor before you make it the only way your household reads mail.

Cypht is a different shape: a webmail that aggregates several accounts into one view, with IMAP, SMTP, JMAP and EWS support listed by the project. Its Sieve filters module is optional; you enable it in the configuration, and it needs a server that runs ManageSieve, not just IMAP.

Our rule of thumb: keep the webmail your stack ships unless it is missing something you need. Choose SnappyMail when you want something lighter than Roundcube, and Cypht when you want several mailboxes in one browser tab.

AI Emaily: best if you want AI drafting and accept a hosted client#

We build AI Emaily, so weigh this entry accordingly. Connect your server on the standard ports through the IMAP connection guide: 993 for IMAP over TLS, 465 or 587 for SMTP submission. The mailbox sits alongside any Gmail or Microsoft 365 accounts you also hold, push arrives over IDLE where your Dovecot supports it, and we render your server’s own folder tree rather than inventing Gmail-style buckets.

The layer we add: drafts in the voice you set in your Personal Context and per-client profiles, and in the default Copilot mode nothing sends until you approve it, with an audit trail and undo. That matters on a mailbox where you already carry the responsibility for the server.

The honest concessions. First, AI Emaily is a hosted client: your server’s IMAP credential is stored encrypted on our infrastructure (see our privacy model). If your reason for self-hosting is that no third party ever holds that credential, no hosted AI client is right for you, ours included; use Thunderbird or the webmail on your box. Second, we do not ship a ManageSieve editor, so you edit Sieve rules in SOGo, Roundcube or a text file. Third, no Linux app and no Intel Mac build, and Android is coming but not available yet. Pro and Autopilot come with a 7-day free trial; there is no free plan. See pricing.

Apple Mail: the built-in choice on Apple hardware#

Apple Mail ships on every Mac and iPhone, costs nothing, and treats a self-hosted mailbox like any other IMAP account once you enter the server details. Your folder tree appears as published and IDLE push works where the server supports it.

It has no ManageSieve support. The workable pattern is to run all filters from SOGo or Roundcube and use Apple Mail purely for reading and writing. It has no Windows or Android version, so a household with one PC is split across two apps.

eM Client: Windows and Mac, with deep client-side rules#

eM Client is a mature Windows and macOS desktop client with solid IMAP handling, a rich client-side rules engine, a built-in calendar and PGP. It handles your own server exactly as it handles Google Workspace or Microsoft 365.

The catch for self-hosters: no ManageSieve editor. Its rules run only when that client is open on that device, so a rule set on your laptop does nothing while you read on your phone. Packaging is a limited free tier plus a paid Pro edition; check the eM Client site for current terms.

MailMate: the standards-strict macOS client#

MailMate is a paid macOS IMAP client from a very small developer team, popular with power users for its strict standards handling, advanced search and Markdown composing. It runs on macOS only, with no iOS companion.

An earlier version of this page said MailMate edits Sieve scripts on the server. We could not confirm that: MailMate’s manual does not mention Sieve or ManageSieve, and its rules are client-side. Pair it with SOGo or Roundcube for server-side filters. Check the MailMate site for current licensing and trial terms.

Two AI clients that do not take a self-hosted mailbox

Shortwave supports Gmail and Google Workspace only; its documentation says other IMAP providers are not supported (checked August 2026). Superhuman Mail is limited to Gmail/Google Workspace and Microsoft 365 accounts, with no generic IMAP; check its own provider list before assuming otherwise.

Thunderbird for Android: the mobile companion to the desktop#

Thunderbird for Android is the successor to K-9 Mail, released under the Thunderbird name after the project took over the K-9 codebase. It handles your own server the way K-9 always did: standard IMAP, IDLE push where supported, and no dependency on Google infrastructure. Free and open source, on Google Play and F-Droid.

There is no Sieve editor in the app, which is the right shape for a phone. Rules live on your server, set once from SOGo, Roundcube or the desktop Sieve tool, and the app reads a mailbox those rules have already sorted.

What Sieve support actually gets you#

Sieve is a mail filtering language defined in RFC 5228, and ManageSieve (RFC 5804) is the protocol a client uses to upload and activate Sieve scripts on the server. Dovecot ships both, on port 4190 by default for ManageSieve, which is why Mailcow and Mail-in-a-Box both offer server-side filtering.

Sieve rules run on the server at delivery, once per message, so a rule fires the same way whatever you open the mail in next. A client-side rule fires only when that client is open on that device, so mail that should have been filtered sits in your inbox everywhere else until then. If your client cannot edit Sieve, run your filters from the server webmail and use the client for reading and writing. That is what most self-hosters end up doing.

Feature parity grid comparing self-hosted email clients on standards IMAP, ManageSieve editor support, certificate handling, and platform reach
The axes a self-hoster actually cares about, and why the Sieve column decides more than any other.

Is it safe to connect a cloud email app to my own server?#

Only you can answer this. Connecting any hosted client, AI Emaily included, means that client’s servers hold an IMAP credential or OAuth token for your mailbox for as long as the connection is live.

In our case those credentials are encrypted at rest, isolated per account, and used only by server-side workers to fetch and send for you. That is a real design, and it is still not the same as no third party ever holding the credential. Both statements are true.

If your reason for self-hosting is keeping credentials on the box, use a client that runs from the box or from your own device: SOGo, Roundcube, SnappyMail, Cypht, Thunderbird, Apple Mail, eM Client, MailMate or Thunderbird for Android. If your reason is control of the mailbox rather than isolation from every vendor, a hosted AI layer is a real option, and the question becomes which vendor you trust. Separately, if mail you send is landing in spam, the client is not the cause; see self-hosted deliverability.

Certificate handling on your own server

A Let’s Encrypt certificate issued for the hostname your clients connect to is accepted by every client on this list without a prompt. A self-signed certificate or one issued to a different hostname will prompt during setup; decide deliberately, and add the certificate to your trust store rather than clicking through. Never suppress certificate errors globally, which turns TLS off silently. Mailcow and Mail-in-a-Box both automate Let’s Encrypt; on a hand-rolled Postfix and Dovecot, put certbot on a timer and keep the certificate name matching the hostname you configure in clients.

The short answer, one more time#

If your reason for self-hosting is that no third party ever holds your mailbox credential, use Thunderbird on the desktop and SOGo, Roundcube or SnappyMail in the browser, and keep your filters as Sieve scripts on the server. It costs nothing.

If you want AI drafting, approval-first send and a unified inbox that also holds your other accounts, AI Emaily is the pick, with the credential trade-off named openly and your Sieve rules staying on the server. For more IMAP options beyond self-hosting, see our roundup of email clients for IMAP accounts.

Frequently asked

Nafiul Hasan

Written by

Nafiul Hasan

Nafiul Hasan is an entrepreneur and AI automation system builder with 10+ years of experience turning messy, manual workflows into reliable automated systems. He designs and ships AI enterprise solutions end-to-end — the agent logic, the data plumbing, and the product people actually use — and founded AI Emaily to give busy professionals their attention back. He writes here from the builder's seat: what works, what breaks, and how to put AI to work without giving up control.

EntrepreneurAI Automation System BuilderAI EnthusiastBuilds AI Enterprise Solutions10+ years experience
More from Nafiul
Ready when you are

Point AI Emaily at your own mail server.

Connect your Mailcow, Mail-in-a-Box, iRedMail or hand-rolled Postfix and Dovecot mailbox on the standard IMAP and SMTP ports, next to your Gmail or Microsoft 365 accounts. IDLE push, your own folder tree, Copilot drafting and approval-first send, with the credential trade-off named openly. 7-day free trial.

  • 7-day free trial
  • Cancel anytime
  • Every provider