← 返回
效率工具

Email Reader

Classify hiring emails and sync job status.
分类招聘邮件并同步职位状态
wanghong5233
效率工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 492
下载
💾 4
安装
1
版本
#latest

概述

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":"","subject":"","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"
  • 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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 09:47 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 438 📥 147,629
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,281
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,833