apple-mail-exporter

star 9

Search and export emails from Apple Mail's local database by keyword, sender, or subject. Use when the user wants to find specific emails, export mail archives, or extract messages from Mail.app without opening the GUI.

Aayush9029 By Aayush9029 schedule Updated 3/4/2026

name: apple-mail-exporter description: > Search and export emails from Apple Mail's local database by keyword, sender, or subject. Use when the user wants to find specific emails, export mail archives, or extract messages from Mail.app without opening the GUI.

apple-mail-exporter

Search and export emails from Apple Mail's local database.

Install

brew install aayush9029/tap/apple-mail-exporter

Options

Flag Description Default
-o, --output <dir> Output directory output
-l, --limit <n> Max emails to export (0 = all) 0
--list-only List matches without exporting
-i, --interactive Interactive mode
--mail-dir <dir> Override Mail V* directory
--mail-base <dir> Override Mail base directory
Install via CLI
npx skills add https://github.com/Aayush9029/homebrew-tap --skill apple-mail-exporter
Repository Details
star Stars 9
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator