Convert Microsoft Outlook Personal Storage Table (.pst) files into AI-friendly formats (Markdown, JSON, CSV). Use this skill to extract emails, metadata, and attachments from legacy email archives for analysis, context, or migration.
This skill provides a tool to extract and format data from Outlook PST files. It is useful for:
libpst must be installed.
brew install libpstsudo apt-get install pst-utilsRun the cli.py script found in this directory.
python3 cli.py <path_to_pst_file> [options]
-f, --format: Output format. Choices: markdown (default), json, csv, both (md+json), all.--full: Include full email bodies (default is metadata-only).--folders: Preserve original folder structure.--include-threading: Include thread ID metadata.-o, --output <dir>: Specify output directory (default: ./output).Good for scanning an archive's contents.
python3 cli.py archive.pst
Extracts full content into a readable Markdown format.
python3 cli.py archive.pst --full -f markdown
Extract structured data.
python3 cli.py archive.pst --full -f json
readpst not found: Install libpst via your system package manager.