From sundial-org-awesome-openclaw-skills-4
Searches Apple Mail.app from CLI using SQLite for fast queries and AppleScript for body content. Filters by subject, sender, unread, date, with safe read-only and copy modes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sundial-org-awesome-openclaw-skills-4:apple-mail-searchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fast SQLite-based search for Apple Mail.app with full body content support.
Fast SQLite-based search for Apple Mail.app with full body content support.
npm install -g apple-mail-search-cli
# Complex search
fruitmail search --subject "invoice" --days 30 --unread
# Search by sender
fruitmail sender "@amazon.com"
# List unread emails
fruitmail unread
# Read full email body (supports --json)
fruitmail body 94695
# Open in Mail.app
fruitmail open 94695
# Database stats
fruitmail stats
| Command | Description |
|---|---|
search | Complex search with filters |
sender <query> | Search by sender email |
unread | List unread emails |
body <id> | Read full email body (AppleScript) |
open <id> | Open email in Mail.app |
stats | Database statistics |
--subject <text> Search subject lines
--days <n> Last N days
--unread Only unread emails
--limit <n> Max results (default: 20)
--json Output as JSON
--copy Copy DB before query (safest mode)
# Find bank statements from last month
fruitmail search --subject "statement" --days 30
# Get unread emails as JSON
fruitmail unread --json | jq '.[] | .subject'
# Find emails from Amazon
fruitmail sender "@amazon.com" --limit 50
| Method | Time for 130k emails |
|---|---|
| AppleScript (full iteration) | 8+ minutes |
| SQLite (this tool) | ~50ms |
~/Library/Mail/V{9,10,11}/MailData/Envelope Index--copy mode availablehimalaya skill (IMAP/SMTP)npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-2 --plugin sundial-org-awesome-openclaw-skills-4Search Apple Mail emails instantly via SQLite on macOS. Queries by subject, sender, date, attachments in ~50ms. Use when asked to find or list emails.
Manages Apple Mail on macOS: read, search, send, reply, forward, and organize emails and mailboxes via MCP tools.