Apple Mail (MacOS)
Use local CLI to manage Gmail, Outlook, iCloud, Yahoo, Fastmail, and other mail accounts synced in Apple Mail on macOS, without APIs or OAuth.
Skill by clawic
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/clawic-apple-mail-macos
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/apple-mail-macos
What's inside
- Skill name
Apple Mail (MacOS)- Description
- Use local CLI to manage Gmail, Outlook, iCloud, Yahoo, Fastmail, and other mail accounts synced in Apple Mail on macOS, without APIs or OAuth.
- License
- MIT
- Instructions
- 112 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "Apple Mail (MacOS)" does not match folder "apple-mail-macos"
Files (9)
- SKILL.md
- _meta.json
- command-paths.md
- memory-template.md
- operation-patterns.md
- provider-coverage.md
- safety-checklist.md
- setup.md
- troubleshooting.md
SKILL.md (first lines)
## Setup On first use, follow `setup.md` to define provider scope, command path preferences, and safety defaults before any write action. ## When to Use User wants to control Apple Mail from CLI while keeping account sync managed by Mail.app. Agent handles read, search, triage, draft, send, move, archive, and delete workflows across accounts already connected in Apple Mail. ## Requirements - macOS with Mail.app account access enabled for terminal automation. - At least one working command path: `osascript`, `shortcuts`, or `sqlite3` read-only for indexed lookup. - Provider accounts already connected in Mail.app (Gmail, Outlook, iCloud, Yahoo, Fastmail, and Proton via Bridge if used). - Explicit confirmation before sending, deleting, or bulk actions. ## Architecture Memory lives in `~/Clawic/data/apple-mail-macos/`. See `memory-template.md` for structure. ```text ~/Clawic/data/apple-mail-macos/ ├── memory.md # Status, provider map, safety defaults ├── command-paths.md # Working command path and fallback notes ├── provider-coverage.md # Provider-specific behavior and caveats ├── safety-log.md # Send/delete confirmations and rollback notes └── operation-log.md # Operation IDs, verification evidence, outcomes ``` ## Quick Reference | Topic | File | |-------|------| | Setup and first-run behavior | `setup.md` | | Memory structure | `memory-template.md` | | Command hierarchy and probes | `command-paths.md` | | Provider behavior matrix | `provider-coverage.md` | | Safety checklist before writes | `safety-checklist.md` | | Deterministic operation patterns | `operation-patterns.md` | | Failure handling and recovery | `troubleshooting.md` | ## Data Storage All skill files are stored in `~/Clawic/data/apple-mail-macos/`. Before creating or changing local files, describe the planned write and ask for confirmation. ## Core Rules ### 1. Treat Mail.app as the Unified Account Layer - Assume provider sync is already configured in Apple Mail and operate on that local unified mailbox layer. - Do not request direct provider OAuth inside this skill unless user explicitly asks for setup help. ### 2. Detect Command Path Before Every Operation - Probe command paths in strict order: `osascript`, then `shortcuts`, then `sqlite3` for read-only indexed lookup. - If no safe path is available, stop and report the exact blocker instead of guessing. ### 3. Default to Dry-Run for Write Intents - For compose, reply, move, archive, and delete workflows, first produce a dry-run preview with impacted messages and fields. - Do not execute live changes until user confirms the dry-run summary. ### 4. Enforce High-Risk Confirmation Gates - Require explicit confirmation for send, delete, bulk move, bulk archive, forwarding, and reply-all expansions. - If external recipients are added or recipient count changes, require a second confirmation. ### 5. Use Operation IDs and Idempotency - Generate a unique operation ID for every write workflow and include it in local operation logs. - Before send, verify there is no prior successful send with the same operation context. ### 6. Read First, Write Once, Verify Immediately - Resolve message identity with at least two fields (message ID plus sender or date) before any write action. - After every write, run read-back verification and report final mailbox state. ### 7. Keep Exposure Minimal and Local-First - Use only required fields for the requested task and avoid broad mailbox exports by default. - Never send message bodies or attachments to undeclared external endpoints. ## Common Traps - Sending from draft without final recipient review -> wrong recipient incidents. - Matching threads by subject only -> replies sent in the wrong conversation. - Bulk archive or delete without dry-run count -> accidental data loss. - Assuming provider folder names are identical -> move failures or misplaced messages. - Skipping read-back verification -> false success reports. ## Security & Privacy **Data that stays local:** - Operational context and defaults in `~/Clawic/data/apple-mail-macos/`. - Message metadata needed to execute the requested task. **Data that may leave your machine:** - Email content only when user confirms a send, reply, or forward through already configured provider accounts. **This skill does NOT:** - Send mail without explicit user confirmation. - Execute destructive mailbox actions without dry-run and confirmation gates. - Request undeclared API keys or call undeclared third-party APIs. ## Related Skills More Clawic skills, get them at https://clawic.com/skills/<slug> (install if the user confirms): - `macos` - macOS command workflows and system automation patterns. - `mail` - cross-platform mailbox handling patterns and protocol references. - `events` - event extraction and action-item framing from communications. - `schedule` - scheduling workflows linked to message-driven tasks. - `productivity` - execution and prioritization frameworks for daily work. ## Feedback - If useful, star it: https://clawic.com/skills/apple-mail-macos - Latest version: https://clawic.com/skills/apple-mail-macos
From clawic/skills, MIT.
More from clawic/skills
- 0.595score
Anki
clawic
Builds and repairs Anki decks: card writing, FSRS and SM-2 deck options, leeches, review workload, imports, and sync.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Agents
clawic
Designs, debugs, evaluates, and hardens AI agents — the loop, tools, memory, context budget, cost, and escalation — independent of any framework.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Accountant
clawic
Keeps books that close: double-entry entries, reconciliation, month-end close, financial statements, and the tax filings that follow.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
API / Application Programming Interface
clawic
Integrates and debugs third-party REST and GraphQL APIs: auth, rate limits, pagination, webhooks, with reference for 147 services.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Apple Search Ads
clawic
Plans, launches, and optimizes Apple Search Ads (Apple Ads, ASA) campaigns for iOS apps: bids, keywords, budgets, CPA, attribution.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Android
clawic
Builds, debugs, ships, and hardens Android apps: Gradle, Jetpack Compose, XML Views, ADB, and the Play release path.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Analysis
clawic
Audits an AI agent's own setup — workspace, config, memory, skills, jobs, integrations — and reports what is broken, exposed, or wasteful.
SkillBFreshness: B★ 19Claude Code +9 - 0.592score
Apple News (MacOS)
clawic
Open Apple News, read Apple News links, and run local News workflows on macOS using deterministic CLI commands and shortcut-based search fallback.
SkillBFreshness: B★ 19Claude Code +9 - 0.592score
Apple Maps (MacOS)
clawic
Search places, open routes, and run Apple Maps workflows on macOS using local CLI commands and shortcut automation with explicit safety checks.
SkillBFreshness: B★ 19Claude Code +9 - 0.592score
AirDrop
clawic
Send local files to nearby Apple devices through AirDrop with macOS guardrails, staging checks, and automation-friendly workflows.
SkillBFreshness: B★ 19Claude Code +9 - 0.592score
Apple Calendar (MacOS)
clawic
Use local CLI to manage Apple, Google, iCloud, Outlook, CalDAV, and other calendars synced in macOS Calendar, without API keys or OAuth.
SkillBFreshness: B★ 19Claude Code +9 - 0.592score
AppleScript
clawic
Write and run safe AppleScript automation on macOS with dictionary discovery, robust quoting, and deterministic read-first workflows.
SkillBFreshness: B★ 19Claude Code +9
Signals
- Stars
- 19
- Forks
- 7
- Open issues
- 0
- Last commit (this folder)
- Jul 27, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/clawic/skills
- Website
- clawic.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from clawic
- 0.595score
API / Application Programming Interface
clawic
Integrates and debugs third-party REST and GraphQL APIs: auth, rate limits, pagination, webhooks, with reference for 147 services.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Agents
clawic
Designs, debugs, evaluates, and hardens AI agents — the loop, tools, memory, context budget, cost, and escalation — independent of any framework.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Android
clawic
Builds, debugs, ships, and hardens Android apps: Gradle, Jetpack Compose, XML Views, ADB, and the Play release path.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Anki
clawic
Builds and repairs Anki decks: card writing, FSRS and SM-2 deck options, leeches, review workload, imports, and sync.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Accountant
clawic
Keeps books that close: double-entry entries, reconciliation, month-end close, financial statements, and the tax filings that follow.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Apple Search Ads
clawic
Plans, launches, and optimizes Apple Search Ads (Apple Ads, ASA) campaigns for iOS apps: bids, keywords, budgets, CPA, attribution.
SkillBFreshness: B★ 19Claude Code +9
Cite this page
Apple Mail (MacOS) skill. Agent Mart. https://agentmart.dev/skills/clawic-apple-mail-macos (last updated 2026-10-24)