# Mail-Archiver

> Self-hosted web app for archiving, searching and exporting email from many accounts

Source: https://talira.ai/catalog/mail-archiver-zb03tzzn
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app
- Categories: [communication / email / archiving](https://talira.ai/categories/communication/email/archiving)
- Platforms: docker[^2]
- Licence: GPL-3.0-only[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free; enterprise support for businesses on request.
- Free tier: yes[^1]
- Self-hostable: yes[^1]
- SSO: yes[^3]
- API: yes[^4]
- MCP server: yes[^5]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^5]
- Backed by: [s1t5](https://talira.ai/orgs/s1t5.md)

Mail-Archiver is a self-hosted web application that archives email from IMAP accounts, Microsoft 365 (through Microsoft Graph, including a bulk import of a whole tenant's mailboxes) and personal Outlook.com accounts on a schedule, and keeps each message's original bytes so DKIM signatures stay valid. It searches the archive with filters, previews messages and attachments, exports accounts or selected messages as mbox or zipped EML, imports mbox and EML archives, restores messages or whole mailboxes and copies mail between mailboxes with their folders. Retention policies can delete mail from the server after a set time, a deletion lock stops manual deletes, and an access log records what users do. It has several users with per-account permissions, OpenID Connect sign-in, a read-only REST API with scoped keys and an optional MCP endpoint that gives AI agents read-only access to the archive. It runs with Docker Compose on .NET and PostgreSQL, under GPL-3.0.

## Links

- Website: https://mail-archiver.org/
- GitHub: https://github.com/s1t5/mail-archiver
- Docs: https://s1t5.github.io/mail-archiver/

## Problems it solves

- keep a searchable archive of all my old emails on my own server
- back up a Microsoft 365 or IMAP mailbox and be able to restore it later
- move emails from one mailbox to another and keep the folder structure
- automatically delete old mail from the mail server but keep a copy in an archive

## Features

- scheduled archiving from IMAP, Microsoft 365 and Outlook.com
- full-text search with filters
- mbox and EML export and import
- mailbox restore and migration
- retention policies and deletion lock
- multi-user with per-account permissions
- OpenID Connect sign-in
- read-only REST API
- MCP server for AI agents
- access log

## Capabilities

- Has an API: plan not known
- Has an MCP server: plan not known
- Has single sign-on: plan not known

## Trust

Overall: 0.69 out of 1.
Signals: maintenance 1.00, adoption 0.67, momentum 0.63, community 0.57, backing 0.30, extensibility 0.40.

- last commit today
- 395 commits in the last 90 days
- latest release 2611.2 16 days ago
- 2.3k GitHub stars
- 25 contributors
- accepts sponsorship (Github, Ko Fi, Buy Me A Coffee)
- backed by s1t5
- has an MCP server for agents

## Alternatives

- [Bichon](https://talira.ai/catalog/bichon-qr392fb1.md): Self-hosted email archiving server
- [Open Archiver](https://talira.ai/catalog/open-archiver-rw99062y.md): A secure, sovereign, and open-source platform for email archiving

## Sources

[^1]: https://mail-archiver.org/ (checked 23 Nov 2026)
[^2]: https://github.com/s1t5/mail-archiver (checked 23 Nov 2026)
[^3]: https://s1t5.github.io/mail-archiver/OIDC_Implementation/ (checked 23 Nov 2026)
[^4]: https://s1t5.github.io/mail-archiver/API/ (checked 23 Nov 2026)
[^5]: https://s1t5.github.io/mail-archiver/MCP/ (checked 23 Nov 2026)
