Mail-Archiver is a web application for archiving, searching, and exporting emails from multiple accounts. Featuring folder sync, attachment support, mailbox mig
Mail-Archiver is a web application for archiving, searching, and exporting emails from multiple accounts. Featuring folder sync, attachment support, mailbox mig
A comprehensive solution for archiving, searching, and exporting emails
Website: mail-archiver.org Roadmap: Project Portal
/mcp that exposes the same read-only archive to AI agents as discoverable tools (search_emails, get_email, list_accounts, list_folders, get_attachment) (MCP Guide)DeletionPolicy__DeletionAllowed=falseFor detailed documentation on installation, configuration, and usage, please refer to the Documentation Index. Please note that the documentation is still fresh and is continuously being expanded.
Install the prerequisites on your system
Create a docker-compose.yml file
…Edit the database configuration in the docker-compose.yml and set a secure password in the POSTGRES_PASSWORD variable and the ConnectionString.
Definie a Authentication__Username and Authentication__Password which is used for the admin user.
Adjust the TimeZone__DisplayTimeZoneId environment variable to match your preferred timezone (default is "Etc/UCT"). You can use any IANA timezone identifier (e.g., "Europe/Berlin", "Asia/Tokyo").
Configure a reverse proxy of your choice with https to secure access to the application.
⚠️ Attention The application itself does not provide encrypted access via https! It must be set up via a reverse proxy!
docker compose up -ddocker compose restartAccess the application in your prefered browser.
Login with your defined credentials and add your first email account:
For all configuration options, see the Setup Guide.
We welcome contributions from the community! Please read our Contributing Guide for detailed information about how to contribute to Mail Archiver.
For code changes by third parties, please coordinate with us via email at [email protected] before making any changes.
You can also:
If you find this project useful and would like to support its continued development, you can buy me a coffee! Your support helps me dedicate more time and resources to improving the application and adding new features. While financial support is not required, it is greatly appreciated and helps ensure the project's ongoing maintenance and enhancement.
With the generous support of our sponsors, Mail Archiver continues to evolve. Thank you for making it possible!
Disclaimer: The services listed above are third-party offerings and are neither affiliated with, endorsed by, nor tested by the Mail Archiver project.
A special thanks to all individual sponsors who support this project through GitHub Sponsors, Ko-fi, and Buy Me a Coffee. Your contributions make a real difference!
License: GNU GENERAL PUBLIC LICENSE Version 3 (see LICENSE file)
No open issues yet, or sync has not completed.