
Apple Mail
Scripted access to Apple Mail on macOS for reading, searching, sending, drafting, and managing messages.
- skills.sh installs
- 1.4K
- last updated
- Aug 21, 2026
What it does
- Covers accounts and mailboxes, reading and searching mail, composing and sending, and archiving, deleting, or flagging read state
- Includes 15 bash scripts (such as
get-emails.sh,search-emails.sh,send-email.sh, andcreate-reply-draft.sh) that wrap AppleScript calls - Returns records delimited by
<<>>for fields and|||for records, with errors prefixed byERROR: - Requires macOS with at least one configured Mail account and grants automation permissions on first run
Install
$ npx -y skills add rbouschery/marketplace --skill apple-mail -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Apple Mail Skill
This skill provides commands to interact with Apple Mail on macOS via AppleScript.
Available Scripts
All scripts are in the ../../scripts/ directory (relative to this file). Execute them via bash from the plugin root.
Account & Mailbox Management
| Script | Purpose | Arguments |
|---|---|---|
list-accounts.sh | List all email accounts | none |
list-mailboxes.sh | List mailboxes/folders | [account] (optional) |
get-unread-count.sh | Get unread email count | [account] [mailbox] (optional) |
Reading Emails
| Script | Purpose | Arguments |
|---|---|---|
get-emails.sh | Get recent emails | [account] [mailbox] [limit] [include_content] [unread_only] |
get-email-by-id.sh | Get specific email by ID | <id> [account] [mailbox] [include_content] |
search-emails.sh | Search emails | <query> [account] [mailbox] [limit] |
Sending & Composing
Details
- Repository
- github.com/rbouschery/marketplace
- Categories
- Email & Messaging, Productivity & Notes
- First seen
- Jun 3, 2026
Similar to Apple Mail
More Email & Messaging
Email McpMCP servercodefuturist161 starsGives AI assistants full IMAP/SMTP email access across multiple accounts: read, search, send, and manage.
Mac MessagesMCP servercarterlasalle345 starsRead, search, and send iMessage and SMS conversations on a Mac through Messages.app.
email-management-expertSkillsundial-org/awesome-openclaw-skills514 installsStructured inbox workflow guide for Apple Mail covering triage, cleanup, search, and analytics via MCP tools.
agentmail-cliSkillagentmail-to/agentmail-skills1.7K installsCommand-line operation of AgentMail inboxes, mail, drafts, pods, webhooks, and domains with scriptable output.
lark-mailSkilllarksuite/cli484.8K installs飞书邮箱 skill that drafts, sends, searches, and organizes mail through lark-cli, with safety rules for untrusted content.
gmail-skillSkillidanbeck/claude-skills3.6K installsGmail and Google Contacts access for searching, reading, sending, and drafting across multiple accounts.