A browser-based multilingual IMAP webmail client with an application-like interface, written in PHP and extendable through plugins and skins.
LogicLabs-OU/OpenArchiver
Self-hosted platform that archives, indexes and searches emails from Gmail, Microsoft 365, PST files and IMAP inboxes.
Open-source alternative to:Microsoft Outlook
- Stars
- 2,436
- Forks
- 150
- Open issues
- 222
- Last commit
- 18 hours ago
What is it?
Open Archiver is a self-hosted platform for keeping a long-term, tamper-evident copy of email. It can ingest mail from Google Workspace, Microsoft 365, IMAP servers, PST files, Mbox files and zipped .eml collections, with continuous synchronization for connected accounts.
Emails are stored in the standard .eml format, with deduplication and compression to reduce storage use, and files are encrypted at rest. Storage can be local disk or S3-compatible object storage such as AWS S3 or MinIO. File hashes are recorded at ingestion so later changes to archived content can be detected.
The search layer indexes full message text and attachments, including PDF and DOCX, and offers thread discovery, retention policies, legal holds and an immutable audit log. The stack is SvelteKit, Node.js with Express, PostgreSQL, Meilisearch and Redis (or Valkey), deployed with Docker Compose.
Key features
- 01Imports from Gmail, Microsoft 365, IMAP, PST, Mbox and .eml files
- 02Stores emails as .eml with deduplication, compression and encryption at rest
- 03Supports local disk or S3-compatible object storage
- 04Full-text search across emails and attachments such as PDF and DOCX
- 05Thread discovery, retention policies and legal holds
- 06Immutable audit trail of system activity
Use cases
- Keeping a permanent record of business email for compliance or regulatory needs
- Preserving mailboxes of departing employees before accounts are closed
- Searching years of archived email and attachments for eDiscovery
- Consolidating old PST exports into one searchable archive
Quick start
- 1
Clone the repository
git clone https://github.com/LogicLabs-OU/OpenArchiver.git - 2
Copy the example environment file and edit it with your settings
cp .env.example .env - 3
Start all services in the background with Docker Compose
docker compose up -d - 4
Open http://localhost:3000 in your browser
Things to know
- Licensed under AGPL-3.0, a strong copyleft license that may restrict how you can use or distribute modified versions.
- Requires Docker and Docker Compose, plus at least 4GB of RAM (2GB with external Postgres, Redis and Meilisearch).
- Self-hosting requires you to set admin passwords and secret keys in the .env file before use.
In collections
Topics
FAQ
- What is OpenArchiver?
- Self-hosted platform that archives, indexes and searches emails from Gmail, Microsoft 365, PST files and IMAP inboxes. Open Archiver is a self-hosted platform for keeping a long-term, tamper-evident copy of email. It can ingest mail from Google Workspace, Microsoft 365, IMAP servers, PST files, Mbox files and zipped .eml collections, with continuous synchronization for connected accounts.
- Is OpenArchiver free to use? What license does it have?
- OpenArchiver is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
- Is OpenArchiver still maintained?
- Actively maintained. The last commit to OpenArchiver was on Oct 23, 2026.
- What can I use OpenArchiver for?
- Keeping a permanent record of business email for compliance or regulatory needs Preserving mailboxes of departing employees before accounts are closed Searching years of archived email and attachments for eDiscovery Consolidating old PST exports into one searchable archive
- How do I install OpenArchiver?
- Clone the repository: git clone https://github.com/LogicLabs-OU/OpenArchiver.git Copy the example environment file and edit it with your settings: cp .env.example .env Start all services in the background with Docker Compose: docker compose up -d Open http://localhost:3000 in your browser
- Where can I get OpenArchiver?
- The source code and installation instructions are on GitHub: https://github.com/LogicLabs-OU/OpenArchiver
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Self-hosted mail server for your own domain, with SMTP/IMAP/POP3, CardDAV/CalDAV, a React webmail and admin console, deployed via Docker Compose.
A fast, open source desktop email client for Mac, Windows and Linux, built with Electron and a local C++ sync engine.
Dockerized, self-hosted mail server suite bundling Postfix, Dovecot, SOGo, Rspamd and ClamAV behind a web admin UI.
A self-hosted mail server packaged as a set of Docker images, covering SMTP, IMAP, POP3 and webmail.
A self-hosted, database-less note-taking web app that stores notes as a flat folder of markdown files.