# apple-mail

This skill connects an agent to Apple Mail.app to search, read, send, and manage messages. Use it to handle email tasks through your coding agent.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 355 installs · ★ 670
- Author: sundial-org
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/apple-mail/SKILL.md
- Updated: 2026-03-07
- HTML: https://affpapa.org/en/nevibecode/skills/sundial-org-apple-mail

## What it does

The skill works with Apple Mail.app through AppleScript and SQLite. It can search for messages, read them, send new email, reply, delete messages, and change read status. Several message IDs can be handled in one call. Fast search queries a temporary copy of the database, so Mail.app can stay open.

It requires macOS, `sqlite3`, and a running Mail.app. List and search scripts use cached data, so run `scripts/mail-refresh.sh` before looking for the latest messages. Gmail folders such as Sent Mail need the `[Gmail]/` prefix: use `[Gmail]/Sent Mail` as the mailbox name.

Check the recipient before sending; the skill’s instructions call this out. Mail.app also adds a blank line at the start of sent messages, and the script cannot bypass that behavior.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill apple-mail -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/apple-mail/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/apple-mail/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill apple-mail -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/apple-mail/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill apple-mail -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/apple-mail/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install sundial-org/awesome-openclaw-skills apple-mail
```

2. **Manually: put the files in place**
- File: `.github/skills/apple-mail/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill apple-mail -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/sundial-org/awesome-openclaw-skills --path skills/apple-mail
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/apple-mail/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill apple-mail -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/apple-mail/SKILL.md

## When to use it
- find messages with a search query
- read messages by ID
- send an email or reply to a message
- delete several messages by ID
- mark messages as read or unread

## Example prompts
- Find emails matching “invoice” and show the recent results.
- Read the messages with IDs `12345` and `12346`.
- Reply to message `12345` and confirm that you received it.

## Similar
- [find-skills](https://affpapa.org/en/nevibecode/skills/find-skills.md) — skill · 4000000 installs
- [frontend-design](https://affpapa.org/en/nevibecode/skills/frontend-design.md) — skill · 1025790 installs
- [grill-me](https://affpapa.org/en/nevibecode/skills/grill-me.md) — skill · 1424476 installs
- [grill-with-docs](https://affpapa.org/en/nevibecode/skills/grill-with-docs.md) — skill · 1219756 installs
- [improve-codebase-architecture](https://affpapa.org/en/nevibecode/skills/improve-codebase-architecture.md) — skill · 1163035 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 678700 installs

## Other versions with the same name
- [apple-mail · rbouschery](https://affpapa.org/en/nevibecode/skills/apple-mail.md) — 1400 installs

From the same set: [sundial-org/awesome-openclaw-skills](https://affpapa.org/en/nevibecode/by/sundial-org/awesome-openclaw-skills.md) — 16 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
