mailbox
它能做什么
这项技能处理阅读、发送、回复和整理邮件等邮件任务。适合希望智能体使用个人邮箱账户工作的用户。
适用场景
- ✓当你希望智能体检查或搜索你的个人邮件的时候。
- ✓当你需要让智能体发送、回复或转发邮件的时候。
- ✓当你想连接受支持的个人邮箱,例如 Gmail 或 QQ 邮箱的时候。
技能链接
https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/mailbox-en/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查我的 Gmail,看看本周会计师是否发来邮件,并为我总结。”
每周 5 个新技能,1 分钟读完。
工作原理
它会使用邮件连接器登录受支持的个人邮箱,然后执行所需的邮件操作,例如搜索、阅读或回复。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Mailbox Operations (qwenpawmail-mcp)
Use qwenpawmail-mcp to connect or register a mailbox and perform email operations.
Supported Providers
The managed QwenPaw mailbox workflow supports these nine mail domains:
| Provider | Domains | Login credential |
|---|---|---|
| NetEase | 163.com, 126.com, yeah.net |
16-character authorization code |
| Tencent | qq.com, foxmail.com |
16-character authorization code |
| Sina | sina.com, sina.cn |
16-character authorization code |
| Alibaba | aliyun.com |
Mailbox login password; existing accounts only |
gmail.com |
16-character app password after enabling 2-Step Verification |
Enterprise mailboxes, custom domains, and Microsoft mailboxes are not supported by the current managed workflow. Do not try enterprise provider overrides or custom IMAP/SMTP hosts. Ask the user to choose one of the supported personal domains instead.
create_mailbox provides built-in registration guidance only for 163.com, 126.com, yeah.net, qq.com, and foxmail.com. Other supported domains require their official registration flow. New aliyun.com registration is unavailable; only existing accounts can be connected.
Invocation Rule
For any email operation, use this skill as the entry point. Do not invent another email workflow or bypass qwenpawmail-mcp with raw IMAP/SMTP commands.
Credential and Configuration Model
agent.json contains only public mailbox configuration. Its expected mail shape is:
{
"mail": {
"is_new_account": false,
"credential": {
"name": "myaccount",
"domain": "163.com",
"provider": ""
},
"push": {
"mode": "off",
"rules": [],
"poll_interval_seconds": 120,
"access_control_enabled": false
}
}
}
The sensitive fields auth_code, password, and phone_number are intentionally absent from agent.json and redacted from Agent API responses. The provider credential represented by auth_code is stored encrypted after it is configured. Registration passwords and phone numbers are entered only on the provider page and are not stored by the current QwenPaw workflow. The absence of auth_code from public configuration does not mean that the user did not configure it.
QwenPaw resolves the encrypted provider credential into the managed DriverCard only at runtime. Never read, decrypt, print, copy, or modify credentials.yaml, and never search files or logs for a secret. Use the workflows below.
Workflow: Connect or Create the Mailbox Account
Step 1 — Read public mailbox state
Read mail.is_new_account, mail.credential.name, and mail.credential.domain from agent.json. Treat provider as empty for every currently supported personal domain.
If mail is missing, ask the user to configure Email Management in the QwenPaw Agent Settings UI before continuing.
Step 2a — is_new_account is false: manage an existing mailbox
- Call
check_authdirectly. The managed DriverCard already receives the stored email credential through a runtime credential reference; do not look it up inagent.jsonand do not callset_credentialsmerely because secret fields are absent. - If
check_authsucceeds, perform the requested mailbox operation. - If credentials are missing or invalid, ask the user to edit this agent in QwenPaw, choose Manage your personal mailbox, enter the mailbox credential again, and save. Retry
check_authafter the agent reloads. - If the user explicitly supplies an email and credential in the current conversation,
set_credentialsmay be used as a temporary session-only override, followed bycheck_auth. It does not update the encrypted QwenPaw configuration and is lost when the MCP process restarts.
For temporary set_credentials, pass the full email and the provider-specific credential in the auth_code parameter. For aliyun.com, that parameter contains the login password; for the other supported domains, it contains the 16-character authorization code or app password.
Step 2b — is_new_account is true: register a dedicated mailbox
Use the public username and domain from agent.json. If the username is blank, let create_mailbox generate one or agree on one with the user.
Registration passwords and phone numbers are entered on the provider page and are deliberately unavailable to the Agent. Do not try to recover them from files. The optional credential field in the QwenPaw dedicated-m
常见问题
支持哪些邮件服务?
支持网易、腾讯、新浪的个人邮箱以及 Google Gmail;阿里邮箱仅在账户已存在时可用。
我需要特殊的密码吗?
大多数服务商需要授权码或应用专用密码。阿里邮箱使用普通的邮箱登录密码。
它支持公司邮箱吗?
不支持。企业邮箱、自定义域名和 Microsoft 邮箱都不受支持。
详情
作者的原始描述
Use this skill whenever the user needs ANY mailbox/email operation — checking, reading, searching, sending, replying, forwarding, organizing or deleting email, managing threads, connecting a personal mailbox, or registering a new mailbox. This skill is the single entry point for email tasks and orchestrates qwenpawmail-mcp for nine supported personal-mail domains.
repo: agentscope-ai/QwenPaw
热度
- GitHub 星标
- 37k
- 排名
- #7579
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
terraform-skill
37k帮你的智能体编写、测试和审查 Terraform 或 OpenTofu 基础设施代码,涵盖模块、CI/CD、安全扫描和状态问题。
computer_use
37k当没有直接工具能完成工作时,让你的智能体通过观察屏幕、点击并检查每一步结果,来操作正在运行的 Windows 或 macOS 应用。
browser
37k通过 QwenPaw Browser SDK 让你的智能体操作真实的网页浏览器,读取页面、对页面执行操作,并在声称成功前检查结果。
channel_message
37k在找到正确的目的地之后,让你的智能体向特定的聊天频道或会话发送单向消息,例如任务完成的提醒。