imap-idle
topitip 제작
Web & Frontend Development요약
Event-driven email monitoring using IMAP IDLE protocol.
설명
이 스킬이 하는 일
IMAP IDLE replaces scheduled email polling with a persistent server connection that pushes notifications when new mail arrives. Latency drops from up to an hour to under a second, and no tokens are consumed while waiting.
Unlike cron-based email checks that burn tokens on every empty poll, IMAP IDLE consumes zero tokens while idle and delivers sub-second notifications.
사용 시점
- Replacing hourly cron email checks with instant notifications
- Processing customer support emails as they arrive
- Monitoring multiple email accounts from one listener
- Triggering workflows the moment a specific email lands
- Cutting token costs from empty polling runs
예시 워크플로
User asks: notify me when a new email arrives
- 1
Opens persistent IMAP connection to the configured account
- 2
Enters IDLE mode so the server can push notifications
- 3
Receives server push when new mail arrives
- 4
Fetches email headers and body preview
- 5
Sends batched event via webhook to wake OpenClaw
OpenClaw receives the webhook and processes the incoming email immediately
요구 사항
- IMAP account credentials (host, port, username, password)
설치
clawhub install topitip/imap-idleCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.