with one click
apple-mail
Search, read, and send emails via Apple Mail IPC. No TCC issues.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Search, read, and send emails via Apple Mail IPC. No TCC issues.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | apple-mail |
| description | Search, read, and send emails via Apple Mail IPC. No TCC issues. |
| permissions | ["unsandboxed:mail.py"] |
Search, read, and send emails through Apple Mail via osascript IPC. Routes through Mail.app's own process — no Full Disk Access needed.
Use --md for markdown rendering.
mail.py <command> [options] --md
mail.py search --from "newsletter@" --limit 10
mail.py search --mailbox "INBOX" --unread
mail.py search --subject "weekly" --after 2026-01-01
Flags: --from, --subject, --mailbox, --after, --before,
--unread, --flagged, --limit N
Output: pipe-delimited id|sender|subject|date
mail.py read <message_id>
Message ID is the Apple Mail message id string from search output.
mail.py send --to "you@example.com" --subject "Hello" --body "..."
mail.py send --to "you@example.com" --subject "Hello" --body-file body.txt
echo "body" | mail.py send --to "you@example.com" --subject "Hello"
mail.py accounts
Lists configured Mail accounts (name, type, emails).
mail.py perm
Opens System Settings → Privacy & Security → Full Disk Access. (Not required for osascript commands, only for any SQLite-based tools.)
message id strings (not ROWIDs)--from and --subject are substring filters applied in AppleScriptStructured code review with SOLID, security, and quality checks.
Systematic root cause analysis — find the cause before fixing.
Secure coding patterns and security scanning tools.
Fetch version-specific documentation and code examples.
Orchestrate research, planning, implementation, and verification.
Advanced history manipulation, recovery, and diagnostics.