An Apple Mail channel plugin for OpenClaw and Hermes that enables AI agents to read, process, and automatically reply to email threads on macOS via AppleScript.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install apple-mail-setup
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-setup 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 Channel skill connects your macOS mail application directly to your AI agents, turning your local inbox into an automated assistant. By integrating with local mail accounts, this skill allows agents to seamlessly monitor, parse, and respond to incoming emails. It relies on secure local AppleScript execution, ensuring that your communication data remains safely managed within your macOS ecosystem while leveraging advanced automation.
As part of the broader ecosystem of Openclaw Skills, this plugin brings native desktop integration to your automated workflows. It handles everything from deep sanitization of incoming HTML emails to smart threading that isolates conversations. This ensures your AI assistant can parse high-fidelity data, preserve Markdown tables, and generate contextual replies without cross-contaminating client conversations.
Install the plugin globally or locally in your project directory using ClawHub or npm:
# Via ClawHub
openclaw plugins install @jehadurre/openclaw-apple-mail
# Or via npm
npm install @jehadurre/openclaw-apple-mail
Verify that the plugin is properly registered with your environment:
openclaw plugins list
Add the configuration to your openclaw.json or Hermes setup file, specifying the macOS accounts to monitor:
{
"channels": {
"apple-mail": {
"enabled": true,
"accounts": {
"work": {
"email": "[email protected]",
"mailboxAccount": "Exchange",
"allowFrom": ["*"],
"pollIntervalMs": 15000,
"archiveOnReply": true
}
}
}
}
}
Because this plugin leverages AppleScript to interact with your native macOS mail application, you must grant automation permissions:
The channel manages configuration settings and dispatches events based on the system's operational lifecycle.
| Parameter | Type | Default | Description |
|---|---|---|---|
enabled |
boolean | true |
Globally enable or disable the Apple Mail channel. |
email |
string | Required | Your exact email address configured in Apple Mail. |
mailboxAccount |
string | "iCloud" |
Name of the mailbox account provider in Apple Mail. |
allowFrom |
array | [] |
Sender allowlist. Use ["*"] to allow all, or specify individual email addresses. |
pollIntervalMs |
number | 30000 |
Frequency in milliseconds to scan for new messages. |
archiveOnReply |
boolean | false |
Automatically archive the email thread within Apple Mail after a reply. |
The Apple Mail plugin operates as a system event driver, emitting the following hooks for Openclaw Skills to utilize:
email:received: Dispatched when a new incoming email satisfies the allowlist filtering.email:sent: Emitted immediately after an AI-generated reply is successfully sent via macOS.session:created: Triggered when a new conversational thread establishes an isolated agent context.session:archived: Emitted if a thread is automatically or manually archived following a reply.archiveOnReply to archive message threads as soon as the agent dispatches the response email.Loading
A read-only analyzer skill designed to parse historical Alibaba Cloud Performance Testing Service (PTS) reports and provide ranked, evidence-grounded performance insights.

A specialized AI agent skill designed to search, deduplicate, and visually map out the latest AI model updates, breakthroughs, and regulatory trends.

A powerful command-line tool to format, validate, beautify, and minify any JSON data for cleaner code and optimized performance.

An enterprise-grade cron scheduler that enables visual expression building, robust job execution logging, dependency tracking, and failure alerting.

An automated intelligent tool that converts electronic books into structured knowledge bases and actionable AI agent skill packages.

A production-grade diagnostic automation tool that securely evaluates 11 Alibaba Cloud network products using read-only API calls to generate rich reports and visualizations.








































