mail-archiver
Mail-Archiver is a web application for archiving, searching, and exporting emails from multiple accounts. Featuring folder sync, attachment support, mailbox migration and a dashboard.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: We couldn't fetch content from the official site (the GitHub repository), so the following is compiled from existing knowledge. For version details, license, and other information, please refer to the repository README.
Introduction
mail-archiver is an open-source project on GitHub (s1t5/mail-archiver) that archives emails from one or more mailboxes onto your own server. It periodically syncs mail over the IMAP protocol, stores message content and attachments in a database, and lets you search and manage everything in one place through a web interface. Even if the original mailbox is emptied, the provider shuts down, or the account becomes invalid, your historical emails are still preserved.
Key Features
- Multi-account IMAP sync: Add multiple mailbox accounts and sync them automatically on a schedule, or trigger a sync manually.
- Centralized search: Search archived emails in the web interface by keyword, sender, recipient, date, and other criteria.
- Email browsing: View message bodies and attachments online.
- Import and export: Supports common formats such as MBox and EML, so you can export emails or import an existing mail archive.
- Dashboard statistics: Shows an overview of the number of archived emails, account status, storage usage, and more.
- User management: Includes login authentication, and you can assign different users access to specific mailbox accounts.
Target Users and Use Cases
- Individuals who want to keep personal email for the long term and rely less on their email provider
- Small teams and businesses that need to centrally back up employee or department mailboxes
- Users who are about to migrate away from or close an old mailbox but want to keep their historical emails
- People with limited mailbox space who want to move old emails out of their main mailbox
Core Strengths
- Fully self-hosted, so your email data stays in your own hands
- Built on the standard IMAP protocol, so it works with most email services
- A web interface for managing multiple mailboxes in one place, with convenient search
- Deployed with Docker, so the barrier to getting started is low
Deployment
The project is built with ASP.NET Core and stores its data in PostgreSQL. Deployment with Docker Compose is recommended:
- Prepare a server with Docker and Docker Compose installed;
- Refer to the
docker-compose.ymlprovided in the repository and configure environment variables such as the database connection and the administrator account; - Run
docker compose up -dto start the service; - Open the web interface in your browser, log in, add your IMAP mailbox accounts, and start syncing.
Technical Requirements
- A Linux server or NAS that can run Docker
- A PostgreSQL database (usually deployed together via Compose)
- Enough disk space for emails and attachments
- IMAP access must be enabled on the mailboxes you want to archive
Notes
- It's recommended to run it behind a reverse proxy with HTTPS enabled
- Back up the database regularly to avoid losing archived data
- Some email providers require an app-specific password for IMAP access
Discover more
Ganymede
Twitch VOD and live stream archiving platform. Includes a rendered chat for each archive.
ArchiveBox
Create HTML & screenshot archives of sites from your bookmarks, browsing history, RSS feeds, or other sources (alternative to Wayback Machine).
Bichon
Bichon – A lightweight, high-performance Rust email archiver with WebUI
Collective Access - Providence
Highly configurable Web-based framework for management, description, and discovery of digital and physical collections supporting a variety of metadata standards, data types, and media formats.
Eonvelope
Email archiving software that allows you to preserve your emails for an indefinite long period of time.
LiveStreamDVR
Automatic Twitch recorder capable of capturing live streams, chat messages and stream metadata.