An event-driven email monitoring skill that replaces periodic polling with instant push notifications to trigger Openclaw Skills workflows.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install imap-idle
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 imap-idle using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The IMAP IDLE Listener is a high-performance integration designed to transition email-based AI workflows from inefficient polling to a modern, event-driven architecture. By maintaining a persistent connection to IMAP servers, this skill enables Openclaw Skills to receive immediate notifications the moment a new message arrives, rather than waiting for scheduled cron jobs. This approach effectively eliminates the delay between receiving an email and processing it with an AI agent.
Beyond speed, the primary advantage is significant resource optimization. Traditional polling methods consume thousands of tokens daily even when no new mail is present. This skill ensures that your Openclaw Skills environment remains dormant and token-efficient, only waking up when there is actual data to process. It includes robust security features like system keychain integration to keep your credentials safe while providing professional-grade logging and monitoring.
First, enable the webhook receiver in your ~/.openclaw/openclaw.json file:
{
"hooks": {
"enabled": true,
"token": "your-secure-token",
"path": "/hooks"
}
}
Install the necessary Python dependencies for IMAP handling and secure credential storage:
pip3 install imapclient keyring --user --break-system-packages
Initialize the configuration and link your accounts to your Openclaw Skills setup:
./imap-idle setup
Start the listener in the background:
./imap-idle start
The skill manages its operations using a JSON configuration file and local state tracking to ensure reliability.
| Component | Detail |
|---|---|
| Config Path | ~/.openclaw/imap-idle.json |
| Account Storage | Supports multiple IMAP profiles with host, port, and SSL toggles. |
| Security | Supports OS-level Keychain (macOS) or Secret Service (Linux) via Python Keyring. |
| Webhook Target | Configurable endpoint URL and Bearer token for Openclaw Skills integration. |
| State Tracking | Persistent UID tracking per account to prevent duplicate processing. |
| Logging | Detailed runtime logs including connection status and event triggers. |
Loading
OpenClawdy is a memory infrastructure for autonomous agents providing persistent storage, semantic recall, and cross-agent knowledge sharing.

A persistent memory infrastructure for autonomous agents that enables semantic recall, reputation tracking, and cross-agent knowledge sharing.

An intelligent OCR and document parsing engine that extracts text, mathematical formulas, and tables from images and PDFs with high precision.

A comprehensive gamification integration that allows AI agents to manage habits, dailies, and character progression using the Habitica API.

A framework for diagnosing and adjusting AI Agent personalities using the MBTI psychological model to align behavior with user expectations.

A comprehensive system for diagnosing AI agent MBTI personality types and automatically optimizing their configuration to match user expectations.








































