mail-archiver
Self-hosted web app for archiving, searching, and exporting email from multiple IMAP accounts with migration support.
Open source alternative to:
mail-archiver is a self-hostable web application for archiving, searching, and exporting email from multiple accounts. It connects to mailboxes over IMAP, syncs folders and attachments, and stores everything in a searchable local index so you can keep a personal or organizational email history independent of any single provider.
The app ships as a Docker Compose stack and is built on C# (ASP.NET). It is designed for practical day-to-day use: a dashboard for browsing, full-text search across messages and attachments, mailbox-to-mailbox migration, and bulk export. It is licensed under GPL-3.0 and is a popular open alternative to commercial products like Mimecast, Google Vault, and Barracuda Message Archiver.
Categories:
Build with:
Frequently Asked Questions
How does mail-archiver let me keep my email independent of any single provider?
mail-archiver connects to your mailboxes over IMAP and syncs folders and attachments into a searchable local index, so your email history is no longer tied to one provider. You can archive mail from multiple accounts into a single dashboard. This makes it a practical open alternative to commercial archiving products like Mimecast, Google Vault, and Barracuda Message Archiver.
Can mail-archiver migrate mailboxes between providers?
Yes. Besides archiving and searching, mail-archiver includes mailbox-to-mailbox migration, so you can move messages from one provider to another when switching email services. Combined with bulk export, it gives you full portability of your email data. Everything is stored in a local index that remains yours.
How is mail-archiver deployed, and how does search work?
mail-archiver ships as a Docker Compose stack, making it easy to run on a single server. It is built with C# on ASP.NET and provides full-text search across both message bodies and attachment contents, along with a dashboard for browsing and exporting archived mail. The project is GPL-3.0 licensed and developed on GitHub at github.com/s1t5/mail-archiver.
Repository details
Updated 8/7/2026, 10:00:27 AM
View RepositoryRepository activity
Sponsor mail-archiver
Sponsor mail-archiver on GitHub Sponsors
https://github.com/sponsors/s1t5Sponsor mail-archiver on Ko-fi
https://ko-fi.com/s1t5devSponsor mail-archiver on Buy Me A Coffee
https://buymeacoffee.com/s1t5


mail-archiver vs OpenArchiver