Scan Apple Mail inbox for unread, actionable, and priority messages. Use this when the user asks to check their email, see unread messages, find urgent emails, or triage their inbox...
Analyzes your Apple Mail inbox to identify unread, actionable, and priority messages within a specified time range.
Activate this skill when the user asks questions like:
Ask the user if they want a specific time range, or use these defaults:
Run the AppleScript skill using the Bash tool:
```bash
osascript .claude/skills/scan-inbox/scripts/scan_inbox.scpt
Parameters:
<hours>: Number of hours to look back (e.g., 24, 48, 72)false: Set to true for priority-only modeThe script returns:
success: boolean (true/false)unreadCount: Total unread messagesactionableCount: Messages with actionable keywordspriorityCount: Flagged/priority messagesunreadList: Array of unread message details (sender, subject, date, flagged status)actionableList: Array of actionable messagespriorityList: Array of priority messagesFormat the output in a clear, actionable way:
Example Response: ``` ๐ฌ Inbox Summary (Last 24 Hours)
๐ Overview:
๐ง Recent Unread:
๐ก Next Steps:
Ask if the user wants to:
The skill identifies these keywords in email subjects:
If the script fails:
User: "Check my email from today"
Claude Response: ```bash osascript .claude/skills/scan-inbox/scripts/scan_inbox.scpt 24 false ```
Then format and present the results to the user.
For advanced usage and detailed documentation, see reference.md.
For examples of common use cases, see examples.md.
This skill only reads mail metadata (sender, subject, date, flags). It does not access email body content to protect privacy.