apple-mail-search-safe
gumadeiras 제작
Communication요약
Fast & safe Apple Mail search with body.
설명
이 스킬이 하는 일
Searches Apple Mail.app on macOS using direct SQLite queries against the local mail database. Supports filtering by subject, sender, date range, and read status, plus reading full email bodies via AppleScript and opening messages in Mail.app.
SQLite queries against the local Envelope Index return results in ~50ms compared to 8+ minutes with AppleScript full iteration.
사용 시점
- Finding an invoice email from last month
- Checking all unread emails from a specific domain
- Extracting email subjects into JSON for scripting
- Locating a message by sender without scrolling through Mail.app
- Reading the full body of a specific email by ID
예시 워크플로
User asks: find unread emails from Amazon in the last 30 days
- 1
Run
fruitmail sender "@amazon.com" --days 30 --unreadto query the SQLite database - 2
Parse the returned list of matching messages
- 3
Select a message ID from the results
- 4
Run
fruitmail body <id>to fetch the full email body via AppleScript
List of matching Amazon emails with full body content of the selected message
설치
clawhub install gumadeiras/apple-mail-search-safeCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.