Install
openclaw skills install @jehadurre/apple-mail-setupAssist with installing, configuring, and using the Apple Mail channel plugin for OpenClaw/Hermes on macOS to monitor and respond to emails.
openclaw skills install @jehadurre/apple-mail-setupThis skill helps you install, configure, and use the Apple Mail channel plugin for OpenClaw and Hermes on macOS.
# Via ClawHub (Recommended)
openclaw plugins install @jehadurre/openclaw-apple-mail
# Or via npm
npm install @jehadurre/openclaw-apple-mail
openclaw plugins list
# Should show: @jehadurre/openclaw-apple-mail@1.0.1
Add to your openclaw.json or Hermes config:
{
"channels": {
"apple-mail": {
"enabled": true,
"accounts": {
"personal": {
"email": "your-email@example.com",
"mailboxAccount": "iCloud",
"allowFrom": ["*"],
"pollIntervalMs": 30000,
"archiveOnReply": false
}
}
}
}
}
enabled (boolean)trueaccounts (object)Define one or more email accounts to monitor.
email (string, required)
mailboxAccount (string)
"iCloud"allowFrom (array of strings)
[]["*"] to allow all senders["boss@company.com", "client@domain.com"] for specific senderspollIntervalMs (number)
30000 (30 seconds)archiveOnReply (boolean)
false{
"channels": {
"apple-mail": {
"enabled": true,
"accounts": {
"work": {
"email": "john@company.com",
"mailboxAccount": "Exchange",
"allowFrom": ["*"],
"pollIntervalMs": 15000,
"archiveOnReply": true
},
"personal": {
"email": "john@gmail.com",
"mailboxAccount": "Gmail",
"allowFrom": ["family@domain.com", "friend@email.com"],
"pollIntervalMs": 60000,
"archiveOnReply": false
}
}
}
}
}
# Start OpenClaw/Hermes with Apple Mail channel
openclaw start
# Or for Hermes
hermes start
The plugin will:
Send a test email to one of your configured accounts. OpenClaw/Hermes should:
# Check OpenClaw logs
openclaw logs
# Check active sessions
openclaw sessions list
Each email thread gets its own isolated session, preventing context mixing between conversations.
# Reinstall
npm install -g @jehadurre/openclaw-apple-mail
openclaw plugins install @jehadurre/openclaw-apple-mail
email matches exactly as configured in Mail.appmailboxAccount name matches the account in Mail.appallowFrom settingsFor high-priority work email:
{
"work": {
"email": "urgent@company.com",
"pollIntervalMs": 5000 // Check every 5 seconds
}
}
For low-priority personal email:
{
"personal": {
"email": "casual@gmail.com",
"pollIntervalMs": 300000 // Check every 5 minutes
}
}
Only allow specific clients and your boss:
{
"work": {
"email": "sales@company.com",
"allowFrom": [
"boss@company.com",
"client1@bigcorp.com",
"client2@enterprise.com"
]
}
}
Automatically archive threads after replying:
{
"support": {
"email": "support@company.com",
"archiveOnReply": true,
"pollIntervalMs": 10000
}
}
apple-mail
See openclaw.plugin.json for full JSON schema.
email:received - New email detectedemail:sent - Reply sent successfullysession:created - New thread session createdsession:archived - Thread archivedFor issues, questions, or contributions:
MIT License - See LICENSE
Version: 1.0.1
Author: Md. Jehadur Rahman (Emran)
Last Updated: June 2026