Open Archiver is a secure, self-hosted email archiving solution, and it's completely open source. Get an email archiver that enables full-text search across email and attachments. Create a permanent, searchable, and compliant mail archive from Google Workspace, Microsoft 365, and any IMAP server.

Data Sovereignty
Your Self-Hosted Mail Archive
With Open Archiver, you decide where your mail archive is stored. Avoid vendor lock-in and ensure your sensitive communication history remains under your control with our self-hosted email archive solution. It's the ideal open source email backup.
- Pluggable Storage Backends
Choose between local filesystem storage for simplicity or any S3-compatible object storage (like AWS S3 or MinIO) for scalability and resilience.
- Compliance & Retention
Define granular retention policies to automatically manage the lifecycle of your data and place legal holds on communications to prevent deletion during litigation.
- Comprehensive Auditing
An immutable audit trail logs all system activities, ensuring you have a clear record of who accessed what and when for security and compliance purposes.
Easy Deployment with Docker
Get up and running in minutes with the provided Docker Compose file. Open Archiver is designed for simple, straightforward self-hosting.
git clone https://github.com/LogicLabs-OU/OpenArchiver.git
cd open-archiver
cp .env.example .env
# Edit .env with your configuration
docker compose up -d
Try Enterprise Edition
Security and compliance features for regulated organizations: retention policies, legal hold, an immutable audit trail, real-time email journaling, four-eyes deletion and advanced role-based access control.
Join Our Community
Open Archiver is built by the community, for the community. Join our Discord to ask questions, share your projects, and connect with other developers who are passionate about data ownership.
Get Started with Your Open Source Email Archive
Deploy your own self-hosted email archive with Open Archiver today. Our mail-archiver docker setup makes installation fast. It's a free, open-source email archiving solution, and ready for you to build on.