plMail Brings a Gmail-Style Inbox to Your Own Server
plMail brings multiple email accounts into one self-hosted inbox, with Docker support and optional local AI through Ollama.
Gmail has long made it convenient to collect messages from several email accounts in one inbox. Google is now winding down part of that arrangement. Its Gmailify and desktop POP-fetching features are being retired, with existing users able to continue POP fetching only until January 2027.
Gmail isn't shutting down POP or IMAP access for third-party clients; its website will stop collecting mail through “Check mail from other accounts.” That's a reason to consider something self-hosted.
plMail is a new, free, open-source webmail client that takes an appealing approach: leave your actual mailboxes where they are, but host the interface that brings them together. It has the familiar feel of a modern email service without requiring you to operate a mail server.
One Inbox Without Moving Your Email #
The important distinction is that plMail is a mail client, not a mail server. It doesn't replace the company that receives messages for your domain or take over email delivery. Instead, it connects to existing IMAP accounts, Gmail and Outlook, then synchronizes messages into a PostgreSQL database on your server. You get a single place to read conversations, search across accounts and manage labels while your existing providers continue handling delivery.
The interface supports threaded conversations and a unified inbox with category tabs. Search includes familiar operators such as from:, subject: and has:, making it possible to narrow down a message without remembering which account received it. There are filters for organizing incoming mail, and messages can be moved into folders or assigned labels directly from the interface. The calendar sits alongside the inbox and supports synchronization with Google, Microsoft and CalDAV services.
For someone juggling personal and domain mailboxes, the attraction is having the same workspace on different computers without configuring every account again.
Docker Makes It Approachable #
The project includes an official Docker Compose configuration and published images for AMD64 and ARM64 systems. According to the installation instructions, you can clone the repository and start the stack with docker compose up -d. Initial setup generates application secrets and asks for the public address you want to use. After creating an account, you can add an ordinary IMAP mailbox from the settings page.
Gmail and Outlook need additional OAuth configuration, so they take more work than entering a standard IMAP server. Don't mistake this for a five-minute migration. The project also has a TrueNAS application for users who prefer installing through their NAS interface.
One backup detail deserves particular attention. plMail stores synchronized messages in PostgreSQL, but the encryption key for saved account credentials lives separately in var/secrets/generated.env. Back up both the database and that secrets file. Recovering one without the other can leave you with an archive of messages but no way to unlock the saved mailbox credentials.
Local AI Is Optional, Not the Point #
plMail includes optional language-model features for drafting replies and summarizing long conversations. It can also use a model to help sort mail or search by meaning. Crucially, none of this is required for the ordinary email experience, and the features are disabled by default.
If you want them, the project supports Ollama running on your own network. That means the model can process messages locally instead of sending them to a commercial inference service. Remote endpoints are also supported, but nobody needs to pay for one. Otherwise, leave AI disabled and use regular search and filtering.
Email is personal; features that read message content should require deliberate consent.
Promising, With a Few Early-Project Caveats #
The project is licensed under AGPL-3.0 and is being actively developed, but it is still young. Its maintainer has described the Android companion app as usable for daily work while acknowledging that the iOS app needs more attention. Some integrations also have rough edges: support for Proton Mail Bridge, for example, is limited by certificate-handling details that still need testing.
Because plMail synchronizes messages into your own database, running it creates another sensitive copy of your email. That gives you control over search and the interface, but also makes access controls and backups your responsibility. Use HTTPS with a trusted certificate for normal access, protect the administrator account with two-factor authentication and avoid exposing an experimental installation casually to the internet. The project's security policy also makes clear that maintenance is currently handled by one person, so a fix may take time.
plMail isn't a finished replacement for every feature in Gmail, and it doesn't remove your dependence on the provider hosting your mailbox. What it offers is more specific, and arguably more interesting: a self-hosted front end for email accounts you already use. If Google's changes have you reconsidering where your inbox lives, this is a project worth watching and testing with a secondary account before trusting it with everything.

Comments 0
Join the conversation.
No comments yet. Be the first to comment.