# MailFlow

> A self-hosted webmail app that merges multiple email accounts into one inbox with real-time sync, AI features, and offline-capable PWA.

- **Category:** Email
- **Licence:** AGPL-3.0
- **Latest version:** v4.1.0
- **Open source:** open_core
- **Languages:** JavaScript
- **Platforms:** Docker Compose, macOS
- **Tags:** Email, IMAP, 2FA, Ai Assistant, Carddav, SMTP, Webmail, Pwa, OIDC, Email Client, Docker, Open Source, Agpl, Self Hosted, Unified inbox, Todoist, Emailclient, Unifiedinbox

## Description

MailFlow is a self-hosted unified webmail client that merges multiple IMAP/SMTP email accounts into a single interface. It supports Gmail, iCloud Mail, Outlook.com, Microsoft 365, and any standard IMAP server. Key capabilities include a unified inbox with automatic email categorization (Primary, Newsletters, Social, Notifications, Other), real-time IMAP sync via WebSocket, full-text search across all accounts, rich-text compose with WYSIWYG editor, conversation threading, one-click unsubscribe for newsletters, inbox rules for automation, snooze, and an AI assistant using OpenAI-compatible APIs. It offers two-factor authentication (TOTP), SSO via OIDC, Microsoft and Google OAuth, Todoist integration, CardDAV contact sync, and a GTD workflow. The UI provides multiple themes (dark, light, Catppuccin, Gruvbox), layouts, and is installable as a PWA with push notifications. It runs via Docker Compose (pre-built images from GHCR) or natively on Linux/macOS/BSD with Node.js 22, PostgreSQL 16+, and Redis 7+. Licensed under AGPL-3.0 with optional paid business licenses.

## Links

- [Homepage](https://github.com/maathimself/mailflow)
- [Website](https://mailflow.sh)
- [Docker](ghcr.io/maathimself/mailflow-frontend)
- [Documentation](https://mailflow.sh/docs.html)
- [GitHub Repository](https://github.com/maathimself/mailflow)
- [GitHub Issues](https://github.com/maathimself/mailflow/issues)
- [GitHub Sponsors](https://github.com/sponsors/maathimself)
- [Terms of Service](https://mailflow.sh/terms.html)
- [Privacy Policy](https://mailflow.sh/privacy.html)

---
Source: https://selfhost.directory/project/mailflow