A specialized macOS integration for Mail.app that enables lightning-fast email searching, reading, and management through a hybrid AppleScript and SQLite approach.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install apple-mail
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install apple-mail using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Apple Mail skill provides a robust interface for interacting with the native macOS Mail application. By utilizing Openclaw Skills to bridge the gap between CLI tools and the Mail.app database, users can perform complex email operations without manual intervention. It is designed for speed and reliability, making it an ideal choice for developers and power users who need to automate their communication workflows on macOS.
This skill stands out by using a dual-engine approach: SQLite for near-instant metadata searches and optimized AppleScript for direct message manipulation. Whether you are building an automated triage system or simply need a faster way to query your archives, this integration provides the necessary tools to handle mail efficiently.
To use this integration within the Openclaw Skills ecosystem, ensure you are running macOS with Mail.app configured.
# Navigate to the skill directory
cd apple-mail
# Verify your accounts are visible to the system
scripts/mail-accounts.sh
# Perform an initial refresh to sync the local database
scripts/mail-refresh.sh
Note: You must grant your terminal or IDE the necessary 'Automation' permissions in System Settings to control Mail.app via AppleScript.
The skill organizes data by extracting fields from the macOS Envelope Index and formatting them for CLI consumption.
| Attribute | Description |
|---|---|
| Message ID | The internal identifier used for direct message access |
| Read Status | A boolean flag (displayed as ● for unread) |
| Date | The timestamp of when the email was received |
| Sender | The display name or email address of the origin |
| Subject | The header text of the email |
| Account UUID | Used internally to map messages to specific mail providers |
Loading
A macOS-native skill that enables AI agents to query the Contacts.app for names, phone numbers, and email addresses using AppleScript.

A macOS-native integration enabling AI agents to perform full CRUD operations and event management on Calendar.app using AppleScript.

Access real-time prediction market data and execute trades on Polymarket US using Openclaw Skills.

An AI-powered web search skill optimized for Chinese-language content and LLM-ready structured data.

A powerful integration for macOS that allows AI agents to control playback, manage library content, and handle AirPlay routing through AppleScript and the MusicKit API.

A specialized tool for searching, listing, and exporting media from the macOS Photos.app library using script-driven SQLite queries.








































