تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

imap-idle

بواسطة topitip

Web & Frontend Development
1.4kالتنزيلات وفق ما يذكره clawskills.sh
3النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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. 1

    Opens persistent IMAP connection to the configured account

  2. 2

    Enters IDLE mode so the server can push notifications

  3. 3

    Receives server push when new mail arrives

  4. 4

    Fetches email headers and body preview

  5. 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-idle

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط