Apple mail macos

From clawic/skills · View interactive version

Apple mail macos is an AI agent skill from the GitHub repository clawic/skills. Use local CLI to manage Gmail, Outlook, iCloud, Yahoo, Fastmail, and other mail accounts synced in Apple Mail on macOS, without APIs or OAuth.

How to use this skill

Skill file

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

Architecture

Memory lives in ~/Clawic/data/apple-mail-macos/. See memory-template.md for structure.

~/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

2. Detect Command Path Before Every Operation

3. Default to Dry-Run for Write Intents

4. Enforce High-Risk Confirmation Gates

5. Use Operation IDs and Idempotency

6. Read First, Write Once, Verify Immediately

7. Keep Exposure Minimal and Local-First

Common Traps

Security & Privacy

Data that stays local:

Data that may leave your machine:

This skill does NOT:

Related Skills

More Clawic skills, get them at https://clawic.com/skills/<slug> (install if the user confirms):

Feedback

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.