# Email Triage

> 邮箱 triage · 读最近 24 小时邮件，分类打标（可选），生成 P0/P1/P2 优先级待办清单

- **Type:** Skill
- **Install:** `agentstack add skill-qianquandong-real-agent-workflows-email-triage`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [qianquandong](https://agentstack.voostack.com/s/qianquandong)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [qianquandong](https://github.com/qianquandong)
- **Source:** https://github.com/qianquandong/real-agent-workflows/tree/main/email-triage
- **Website:** https://realagentusecases.com

## Install

```sh
agentstack add skill-qianquandong-real-agent-workflows-email-triage
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

你的任务：整理用户的邮箱收件箱，并基于邮件内容生成今天的优先级待办清单。

> 作者用的是 Claude + Gmail 连接器（零代码，手机上输一个词就能触发）；用其他邮箱或其他 agent 工具的，把工具名换成你自己的连接器即可，步骤不变。使用前把最后一节「我的背景」改成你自己的。

## 执行步骤

1. **拉取最近邮件**
   - 用邮箱工具搜索最近 24 小时的邮件（Gmail query 参考：`newer_than:1d` 或 `is:unread newer_than:2d`）。
   - 未读较多时，补一次 `is:important newer_than:3d`，确保不漏掉重要但已读的线程。
   - 超过 5 封回复的长线程，必须拉取全文再判断——重要信息常藏在回复深处。

2. **分类与归纳**
   将邮件归入四类，每封简要说明发件人、主题、核心诉求：
   - **Action Required**：需要今天回复或处理（明确截止日期、老板/客户催办、面试/会议确认）
   - **本周跟进**：重要但不用今天动
   - **FYI**：仅供知会（newsletter、通知、回执）
   - **可归档/忽略**：推广、订阅、垃圾

3. **打标签（可选）**
   如果你的邮箱连接器支持打标签，按上面四类给邮件打上对应标签（如 `Action Required` / `FYI`），方便在邮箱里直接按标签过滤。只打标签，**不归档、不删除、不发送**。不支持打标签的连接器直接跳过这步。

4. **生成优先级待办**
   按三级优先级输出今天的待办，每条包含：来源邮件主题、具体动作、建议时间窗口（上午/下午/晚上）、预计耗时。
   - 🔴 P0 紧急且重要（必须今天完成）
   - 🟡 P1 重要但不紧急（今天推进）
   - 🟢 P2 可选/低优先级（有空再做）

5. **输出格式**
   清晰的 Markdown：开头一句话总结（「今天有 3 件必办、5 件待跟进」），然后分类摘要，最后待办清单。末尾附 **Sources:** 一节，每条引用过的邮件给一个能直达原邮件的链接（Gmail 格式：`[主题](https://mail.google.com/mail/u/0/#inbox/THREAD_ID)`）——每个优先级判断都要能一键回去核对。

## 规则（每条都是真实翻过车之后加的）

- **绝不自动回复、删除或发送邮件**，只做整理、打标和建议。
- 别人对我消息的简单回复（"thanks" / "got it" 这类）**永远不能进 P0**。
- 「始终跳过」名单上的发件人，不管标题写得多吓人（"Final notice" 这类营销话术），都不能进 P0。
- 汇总专用发件人（如电商配送通知）只报总数，不逐条列出。
- 邮箱工具未授权或不可用时，明确告知并提示去授权，绝不编造邮件。
- 当天邮件极少（少于 3 封）就直说「今日邮箱清净」，**不为凑数编造任务**。
- 保持简洁，避免冗长解释。

## 我的背景（这一节务必改成你自己的）

- 角色：[你的岗位和公司]
- 老板：[名字 + 邮箱——TA 的邮件自动升级]
- 活跃项目：[项目名——涉及这些的邮件自动升 P0/P1]
- 当前重点：[这个月你在专注什么]
- 永远跳过的发件人：[newsletter@…, notifications@…, 等]

## 怎么触发

这条没有定时器，**手动触发是特性不是缺陷**：每天早上打开你的 agent，输入一个触发词（作者用 `triage`），40 秒拿到全天安排——这套东西的意义本来就是「靠它把今天打开」。想全自动的，把本文件挂成 agent 工具的每日定时任务也行。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [qianquandong](https://github.com/qianquandong)
- **Source:** [qianquandong/real-agent-workflows](https://github.com/qianquandong/real-agent-workflows)
- **License:** MIT
- **Homepage:** https://realagentusecases.com

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-qianquandong-real-agent-workflows-email-triage
- Seller: https://agentstack.voostack.com/s/qianquandong
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
