Email Reader

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

📖 技能介紹

Email Reader Skill

Trigger

Activate when user asks:

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

Workflow

  1. If user provides sender/subject/body:
    • Call POST http://127.0.0.1:8010/api/email/ingest
    • Body:
      • {"sender":"<sender>","subject":"<subject>","body":"<body>"}
  2. Parse response:
    • show classification.email_type
    • show company / interview_time if exists
    • show related_job_id + updated_job_status if job status was updated
  3. If user asks for history:
    • Call GET http://127.0.0.1:8010/api/email/recent?limit=20
    • summarize top items
  4. If user asks to pull unread inbox:
    • Call POST http://127.0.0.1:8010/api/email/fetch
    • Body: {"max_items":10,"mark_seen":false}
    • Return fetched_count / processed_count.
  5. If user asks heartbeat trigger/status:
    • Status: GET http://127.0.0.1:8010/api/email/heartbeat/status
    • Trigger once: POST http://127.0.0.1:8010/api/email/heartbeat/trigger
    • Start scheduler: POST http://127.0.0.1:8010/api/email/heartbeat/start
    • Stop scheduler: POST http://127.0.0.1:8010/api/email/heartbeat/stop
    • Notify test: POST http://127.0.0.1:8010/api/email/heartbeat/notify-test
  6. For OpenClaw cron integration:
    • 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.
    • 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:
    • 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"

    7w4.net提供免費和付費技能下載。

  • 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