Apple Mail Integration Plugin for OpenClaw & Hermes
# Install from npm npm install @jehadurre/openclaw-apple-mail # For OpenClaw openclaw plugins install @jehadurre/openclaw-apple-mail # For Hermes hermes plugins install @jehadurre/openclaw-apple-mail
Each email thread gets its own isolated OpenClaw/Hermes session, preventing conversation mixing.
Allowlist enforcement, self-reply prevention, and outbound restrictions keep your agent secure.
Extract and process HTML tables from emails with proper sanitization.
Customize polling intervals, reply policies, and thread context management.
openclaw-apple-mail uses AppleScript to integrate with Mail.app on macOS:
Add to your ~/.openclaw/openclaw.json or ~/.hermes/hermes.json:
{
"channels": {
"apple-mail": {
"enabled": true,
"accounts": {
"your-email@example.com": {
"email": "your-email@example.com",
"mailboxAccount": "iCloud",
"allowFrom": [
"allowed-sender@example.com"
],
"pollIntervalMs": 30000,
"archiveOnReply": false
}
}
}
}
}
Contributions are welcome! Check out the Contributing Guide to get started.
Report an Issue Submit a PR