Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Searches Apple Mail.app emails on macOS via SQLite by subject, sender, date, recipient, or attachments.
35% 100%+65 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 8 of 23 without it.
3 of 3 safety checks passed
Not used yet
Search Apple Mail.app emails instantly via SQLite. ~50ms vs 8+ minutes with AppleScript.
# Copy mail-search to your PATH
cp mail-search /usr/local/bin/
chmod +x /usr/local/bin/mail-search
mail-search subject "invoice" # Search subjects
mail-search sender "@amazon.com" # Search by sender email
mail-search from-name "John" # Search by sender name
mail-search to "[email protected]" # Search sent mail
mail-search unread # List unread emails
mail-search attachments # List emails with attachments
mail-search attachment-type pdf # Find PDFs
mail-search recent 7 # Last 7 days
mail-search date-range 2025-01-01 2025-01-31
mail-search open 12345 # Open email by ID
mail-search stats # Database statistics
-n, --limit N Max results (default: 20)
-j, --json Output as JSON
-c, --csv Output as CSV
-q, --quiet No headers
--db PATH Override database path
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.