GiraffeMail is open source (AGPL-3.0) — star us on GitHub

Archive Mail Safely

GiraffeMail is a modern open source IMAP archive & cleanup tool

Get GiraffeMail

Release v0.1.0 NEW · AGPL-3.0 · Changelog

Why Choose GiraffeMail?

Self-hosted single binary with embedded UI — no Elasticsearch, no SaaS lock-in

Open
Source
AGPL
Golden
Rule
Cleanup

Verified SHA-256 blobs before any message leaves your IMAP server

What You Get

IMAP archive

Multiple accounts, incremental UID sync, zstd-compressed content-addressed blobs on your disk.

SQLite FTS5

Full-text search with keyset pagination. Subjects, bodies, senders — no search cluster required.

Safe cleanup

Filter by age, sender, size. Preview jobs first. Server delete only when archive is verified.

Export & restore

mbox or zip export. APPEND archived messages back to IMAP when you need them.

RBAC

Admin and user roles. Each user sees only the mail accounts they own.

Docker ready

Compose file, health checks, migrate and seed on container start. Run on any VPS.

The Golden Rule

Enforced in code — every cleanup query checks this before touching the mail server.

archived_at IS NOT NULL AND blob_sha256 IS NOT NULL AND blob_sha256 != ''

Tour

giraffemail / dashboard
Dashboard
Dashboard Archive counts, storage used, and sync status per account.
giraffemail / accounts
Accounts
Accounts IMAP accounts with live per-mailbox sync progress.
giraffemail / cleanup
Cleanup
Cleanup Preview filtered deletes before anything hits the server.

How It Compares

GiraffeMailTypical backupCloud archive
Self-hostedyesvariesno
Safe server cleanupyesnovaries
Full-text searchSQLite FTS5often noneyes
LicenseAGPL-3.0variesproprietary