Email

msgvault – archive a lifetime of email and chat

msgvault is an offline email archive tool that exports and stores email data locally with full-text search capabilities.

This is free and open source software.

Key Features

  • Full Gmail backup: raw MIME, attachments, labels, and metadata.
  • MBOX / Apple Mail import: import email from MBOX exports or Apple Mail (.emlx) directories.
    Interactive TUI: drill-down analytics over your entire message history, powered by DuckDB over Parquet.
  • Full-text search: FTS5 with Gmail-like query syntax (from:, has:attachment, date ranges).
  • MCP server: access your full archive at the speed of thought in Claude Desktop and other MCP-capable AI agents.
  • DuckDB analytics: millisecond aggregate queries across hundreds of thousands of messages in the TUI, CLI, and MCP server.
  • Incremental sync: History API picks up only new and changed messages.
  • Multi-account: archive several Gmail accounts in a single database.
  • Resumable: interrupted syncs resume from the last checkpoint.
  • Content-addressed attachments: deduplicated by SHA-256.

Website: github.com/wesm/msgvault
Support:
Developer: Wes McKinney
License: MIT License

msgvault commands

msgvault is written in Go. Learn Go with our recommended free books and free tutorials.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments