Skip to content
Back to skills

Load Mbox Mail Archives Into Sqlite For Offline Search Audits And Dataset Joins

ASecurity

Use mbox-to-sqlite when an agent needs to work across an email archive as structured data instead of parsing one message at a time. The agent imports a mailbox into SQLite, then hands the resulting database to search, reporting, and cross-dataset workflows without depending on a live mail provider.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 8, 2026
ai-agentspythongosqlgitdatabasesecuritydocumentation

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill load-mbox-mail-archives-into-sqlite-for-offline-search-audits-and-dataset-joins --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Load Mbox Mail Archives Into Sqlite For Offline Search Audits And Dataset Joins?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Load Mbox Mail Archives Into Sqlite For Offline Search Audits And Dataset Joins
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-load-mbox-mail-archives-into-sqlite-for-offline-se/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-load-mbox-mail-archives-into-sqlite-for-offline-se)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Load .mbox mail archives into SQLite for offline search, audits, and dataset joins"
slug: "load-mbox-mail-archives-into-sqlite-for-offline-search-audits-and-dataset-joins"
description: "Use mbox-to-sqlite when an agent needs to work across an email archive as structured data instead of parsing one message at a time. The agent imports a mailbox into SQLite, then hands the resulting database to search, reporting, and cross-dataset workflows without depending on a live mail provider."
github_stars: 39
verification: "security_reviewed"
source: "https://github.com/simonw/mbox-to-sqlite"
author: "Simon Willison"
category: "Calendar, Email & Productivity"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "simonw/mbox-to-sqlite"
  github_stars: 39
---

# Load .mbox mail archives into SQLite for offline search, audits, and dataset joins

Use mbox-to-sqlite when an agent needs to work across an email archive as structured data instead of parsing one message at a time. The agent imports a mailbox into SQLite, then hands the resulting database to search, reporting, and cross-dataset workflows without depending on a live mail provider.

## Prerequisites

Python 3, pip, a .mbox mailbox export, and SQLite-compatible analysis tooling.

## Installation

Use the upstream install or setup path that matches your environment:
- pip install mbox-to-sqlite
- pip install -e '.[test]'

Requirements and caveats from upstream:
- python -m venv venv

Basic usage or getting-started notes:
- Use the mbox command to import a .mbox file into a SQLite database:
- mbox-to-sqlite mbox emails.db path/to/messages.mbox
- You can try this out against an example containing a sample of 3,266 emails from the [Enron corpus](https://en.wikipedia.org/wiki/Enron_Corpus) like this:

- Source: https://github.com/simonw/mbox-to-sqlite
- Extracted from upstream docs: https://raw.githubusercontent.com/simonw/mbox-to-sqlite/HEAD/README.md

## Documentation

- https://github.com/simonw/mbox-to-sqlite

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/load-mbox-mail-archives-into-sqlite-for-offline-search-audits-and-dataset-joins/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.