Email Reader

👤 wanghong5233 📦 v1.0.0 ⭐ 4.3 ⬇️ 815 下載
📄 辦公效率 免費

📖 技能介紹


name: email-reader description: Classify hiring emails and sync job status.


Email Reader Skill

Trigger

Activate when user asks:

  • "幫我分類這封郵件"
  • "這封郵件是面試邀請還是拒信?"
  • "同步一下這封郵件對應的投遞狀態"
  • "檢視最近郵件分類記錄"
  • "從郵箱裡拉取未讀郵件並分類"
  • "觸發一次郵件巡檢"
  • "配置每天自動巡檢這條鏈路"

Workflow

  1. If user provides sender/subject/body:
  2. Call POST http://127.0.0.1:8010/api/email/ingest
  3. Body:
    • {"sender":"<sender>","subject":"<subject>","body":"<body>"}
  4. Parse response:
  5. show classification.email_type
  6. show company / interview_time if exists
  7. show related_job_id + updated_job_status if job status was updated
  8. If user asks for history:
  9. Call GET http://127.0.0.1:8010/api/email/recent?limit=20
  10. summarize top items
  11. If user asks to pull unread inbox:
  12. Call POST http://127.0.0.1:8010/api/email/fetch
  13. Body: {"max_items":10,"mark_seen":false}
  14. Return fetched_count / processed_count.
  15. If user asks heartbeat trigger/status:
  16. Status: GET http://127.0.0.1:8010/api/email/heartbeat/status
  17. Trigger once: POST http://127.0.0.1:8010/api/email/heartbeat/trigger
  18. Start scheduler: POST http://127.0.0.1:8010/api/email/heartbeat/start
  19. Stop scheduler: POST http://127.0.0.1:8010/api/email/heartbeat/stop
  20. Notify test: POST http://127.0.0.1:8010/api/email/heartbeat/notify-test
  21. For OpenClaw cron integration:
  22. Recommend this exact cron payload message:
    • Use email-reader skill to trigger one email heartbeat run, then summarize fetched_count, processed_count, interview invites, and notification status.
  23. This keeps OpenClaw heartbeat and backend /api/email/heartbeat/trigger on the same execution path.

Command templates (exec tool + curl)

  • Ingest:
  • curl -sS -X POST "http://127.0.0.1:8010/api/email/ingest" -H "Content-Type: application/json" -d '{"sender":"hr@example.com","subject":"面試邀請","body":"請於明天下午參加面試"}'
  • Recent:
  • curl -sS "http://127.0.0.1:8010/api/email/recent?limit=20"
  • Fetch unread:
  • curl -sS -X POST "http://127.0.0.1:8010/api/email/fetch" -H "Content-Type: application/json" -d '{"max_items":10,"mark_seen":false}'
  • Heartbeat status:

    小蔥技能站7w4.net發現了升級外掛。

  • curl -sS "http://127.0.0.1:8010/api/email/heartbeat/status"
  • Heartbeat trigger:
  • curl -sS -X POST "http://127.0.0.1:8010/api/email/heartbeat/trigger"
  • Heartbeat start:
  • curl -sS -X POST "http://127.0.0.1:8010/api/email/heartbeat/start"
  • Heartbeat stop:
  • curl -sS -X POST "http://127.0.0.1:8010/api/email/heartbeat/stop"
  • Notify test:
  • curl -sS -X POST "http://127.0.0.1:8010/api/email/heartbeat/notify-test" -H "Content-Type: application/json" -d '{"message":"OfferPilot test"}'
  • Suggested OpenClaw cron message:
  • Use email-reader skill to trigger one email heartbeat run, then summarize fetched_count, processed_count, interview invites, and notification status.

Constraints

  • Never send emails automatically.
  • If classification confidence is low or type is irrelevant, clearly tell user uncertainty.
  • For malformed input or API failure, surface exact error and ask whether to retry.

🤖 AI 評測

這個 Skill 能幫你自動識別招聘郵件是面試邀請還是拒信,並同步更新投遞狀態,功能覆蓋日常招聘管理的核心需求。優點是操作流程清晰、安全約束合理、使用門檻低。不足是內容偏簡單,缺少使用說明文件,新手需要一定學習成本。總體質量中規中矩,能用但還有完善空間。

📊 多維度評分

適應性4.7
規範性4
有效性4.3
可靠性4.3
可信度4.8

📁 包含檔案 (3 個)

📄 SKILL.md 3.2 KB
📄 _meta.json 155 B
📄 skill-card.md 2.1 KB