mail-archiver logo
Archiving and Digital Preservation (DP)2,283 stars103 forksC#GPL-3.0Commit: Nov 2026

mail-archiver

Mail-Archiver is a web‑based system that archives, searches and exports emails from IMAP, Microsoft 365 and imported mai

Key Strengths (Pros)

  • Automated scheduled archiving from multiple accounts
  • Multilingual responsive UI with dark mode (14 languages)
  • OpenID Connect authentication
  • Advanced search with filters and attachment preview
  • Export to mbox or zipped EML with optional original .eml storage
  • XRechnung invoice preview generated locally as PDF

Limitations & Trade-Offs (Cons)

  • Documentation is still fresh and continuously being expanded, which may limit immediate guidance

Quick Summary

About mail-archiver

Core Capabilities

•Automated archiving with scheduled sync
•Multilingual UI with dark mode (14 languages)
•OpenID Connect authentication
•Advanced search with filters
•Email preview with attachments
•Export accounts or selected emails as mbox or zipped EML

Works With

Microsoft Graph APIOpenID Connect (OIDC)OAuth2 Device Code Flow

Mail-Archiver provides organizations and power users with a self‑hosted web application to continuously archive emails from multiple providers, browse messages with attachment previews, run advanced filtered searches, and export data as mbox or zipped EML files. It supports multilingual UI, dark mode, OpenID Connect login, detailed access logs, retention policies and compliance locks, and offers a read‑only REST API plus an AI‑agent endpoint for programmatic access.

Self-Host with Docker

Starter Template

Run mail-archiver locally or on your private VPS with zero cloud lock-in.

services:
  mail-archiver:
    image: s1t5/mail-archiver:latest
    container_name: mail-archiver
    restart: unless-stopped
    ports:
      - "8080:8080"
    volumes:
      - ./mail-archiver-data:/data

💡 Starter Docker template — verify the exact image tag and port in the repository README.

Check official repo docs ↗

Interactive Server Sizer

What VPS Do You Need for mail-archiver?

CPU Cores2–4 vCPU
Memory (RAM)4 GB RAM
NVMe Disk80 GB NVMe

Hetzner Cloud

Best value

~$7.05/mo

DigitalOcean

Simple DX

~$24/mo

AWS Lightsail / EC2

AWS VPC

~$30/mo

Startup Team (10–50 users): Sweet spot for most teams: runs mail-archiver, PostgreSQL, Redis, and Traefik comfortably with nightly pg_dump backups to S3/R2.

Production Topology

How mail-archiver Runs Self-Hosted

Single-Container Stack

mail-archiver — C# Container

Runs isolated inside Docker using image s1t5/mail-archiver:latest. Stateless restarts let you upgrade versions cleanly without touching your persisted data.

s1t5/mail-archiver:latest

At-a-Glance Health Audit

mail-archiver Open-Source Readiness Score

85/100

Production Ready
Community Adoption2.3k stars · Growing
Maintenance FreshnessActive (<30 days)
Self-Host ReadinessDocker Ready
License FreedomGPL-3.0 · Copyleft OSS
s1t5/mail-archiver
Open on GitHubPreview Card
mail-archiver GitHub repository preview (s1t5/mail-archiver)

Ready to explore mail-archiver?

Visit their official site or check their code repository.

For Project Maintainers

Embed Verified Badge in GitHub README

Signal to developers that mail-archiver is actively verified on The Cloud Rain. Boost credibility and showcase commercial SaaS replacement.

mail-archiver on The Cloud Rain - Verified Open Source
[![mail-archiver on The Cloud Rain - Verified Open Source](https://www.thecloudrain.org/api/badge/mail-archiver)](https://www.thecloudrain.org/tools/mail-archiver)

Knowledge Base

Frequently Asked Questions

Is mail-archiver free and open source?

Yes, mail-archiver is free, open-source software distributed under the GPL-3.0 license. Anyone can inspect, audit, or contribute to its public codebase.

Can I self-host mail-archiver?

Yes, mail-archiver is designed for self-hosting on private clouds, VPS, or on-premise hardware. You can deploy it using Docker or containers to maintain complete control over your data.

What are the best open-source alternatives to mail-archiver?

Explore top alternatives in the Archiving and Digital Preservation (DP) category on The Cloud Rain, where projects are verified for active maintenance, license integrity, and developer usability.

How is mail-archiver verified on The Cloud Rain?

Our curation pipeline verifies mail-archiver for license authenticity, repository commit cadence, and deployment viability according to our transparent audit methodology.