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 carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted