Post

mail-archive — IMAP Archive with DuckDB & Qdrant Search

IMAP/POP3 mail archive with structured storage and semantic search.

mail-archive — IMAP Archive with DuckDB & Qdrant Search

mail-archive archives mail from IMAP/POP3 sources into queryable storage with optional vector search.

Repository: github.com/eSlider/mail-archive

Architecture

  • Pull mail via IMAP/POP3
  • Store structured metadata and bodies in DuckDB
  • Optional Qdrant embeddings for semantic search across archived threads
  • Go CLI and services for ingestion and query

Use case

Long-running mailboxes accumulate context that standard clients search poorly. Archiving to DuckDB enables SQL analytics; Qdrant adds “find similar discussions” without exporting to a third-party service.

Tech stack

Go · DuckDB · Qdrant · IMAP/POP3

This post is licensed under CC BY 4.0 by the author.