Mail Archiver: Email Archive with Export

Sync IMAP and Microsoft 365 mailboxes into an email archive on your own server, then search it or export it as mbox or zipped EML.

Pros and cons

Pros

  • OIDC single sign-on and two-factor1
  • Read-only REST API and optional MCP server2
  • Retention rules for mailbox and archive3
  • Mbox and EML export with restore4
  • Attachment dedupe, each file stored once5

Cons

  • Gmail connects over IMAP with an app password6
  • Personal Outlook accounts added one at a time7
  • Bulk actions capped at 250 emails by default8
  • Search has no cc or bcc field9

Compare with similar apps

Compare Mail Archiver with other backup apps. Add or remove apps to see how they differ.

Requirement
Mail Archiver
PriceFreeFree
LicenceGPL-3.0AGPL-3.0
Storage supportLocalLocal, S3
DeduplicationNot applicableYes
Web UIYesYes
Minimum hardwareNot stated4 GB RAM
Docker Containers2 (app, Postgres)5 (app + Postgres, Valkey, Meilisearch, Tika)
DatabasePostgresPostgres
Architecturex86 + ARMx86 + ARM
Tech stack.NETNode
DockerYesYes
Linux package––
Windows––
macOS––
Full comparison

Common questions

Similar apps to Mail Archiver

Open Archiver

Pull Gmail, Microsoft 365 and IMAP mail into an email archiver you host. Everything lands as .eml files that are deduped and compressed, and encrypted at rest once you set a storage key.

Free

Bichon

Download mail from your IMAP accounts into one searchable email archiver that runs as a single Rust binary or container with no external database.

FreeOur pick

Backrest

Schedule, browse and restore Restic backups from a web dashboard. Targets include S3, Backblaze B2 and SFTP, plus anything rclone can reach.

FreeOur pick

BackVault

Vaultwarden keeps the family's passwords in one database on one machine. BackVault logs in with the official Bitwarden CLI on a schedule, exports the vault to a file encrypted with a password you choose, and prunes the copies that fall outside your retention window.

Free

Borg

Borg packs a folder into a compressed, encrypted archive and stores only the chunks it has not seen before, so the second run is a fraction of the size of the first. Repositories live on a local disk or on a host you reach over SSH, and any archive can be mounted and browsed like a folder.

Free

borgmatic

Write one YAML file describing what to back up, and borgmatic runs Borg for you: create an archive, prune old ones, compact the repository and check it. It also dumps Postgres, MySQL, MariaDB, MongoDB, SQLite, InfluxDB and OpenLDAP first, so the archive holds a consistent copy rather than a half-written database file.

Free

Duplicacy

Back up to local drives, cloud storage or SFTP with lock-free deduplication.

Free + Paid

Duplicati

Duplicati takes encrypted, deduplicated backups of the folders you pick. Point a job at a local drive, a NAS, an SFTP server or cloud storage, and it keeps versions you can restore from the browser. One container runs the backup engine and the web UI.

Free + Paid

Tags

Updated