📦 QQ邮箱

v1.0.0

通过 IMAP/SMTP 管理 QQ Mail(QQ邮箱)。适用于用户读取、发送、搜索或管理 QQ 邮箱邮件。支持读取收件箱、发送邮件……

17· 17·1 当前·1 累计
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
可疑
high confidence
该技能看似实现了一个合法的 QQ Mail IMAP/SMTP 客户端,但其元数据与声明需求存在明显不一致,在授予凭据前应先解决。
评估建议
This skill's code appears to be a normal QQ Mail IMAP/SMTP client, but there are metadata inconsistencies you should resolve before installing or providing credentials. Actions to consider: - Verify provenance: confirm the publisher/owner matches a trusted source (ownerId mismatch in _meta.json vs registry metadata is suspicious). - Inspect the full script locally (it is bundled) and ensure it only connects to imap.qq.com/smtp.qq.com and doesn't exfiltrate data elsewhere. - Provide credentials m...
详细分析 ▾
用途与能力
The code and SKILL.md implement an IMAP/SMTP client for QQ Mail, which matches the name/description. However the package metadata/manifest is inconsistent: the skill runtime expects both QQMAIL_USER and QQMAIL_AUTH_CODE environment variables, but the registry metadata lists no required env vars and only declares QQMAIL_AUTH_CODE as primaryEnv. Also the _meta.json ownerId differs from the registry metadata owner ID, which is an ownership/packaging inconsistency that warrants verification.
指令范围
SKILL.md tells the agent to run the included Python script which only contacts QQ IMAP/SMTP servers and reads/writes emails and optional attachment files. That scope is appropriate. But the instructions and script read QQMAIL_USER and QQMAIL_AUTH_CODE from the environment while the skill metadata does not declare QQMAIL_USER — the agent may not provide that variable automatically. There are no instructions to read arbitrary system files or send data to unexpected endpoints.
安装机制
No install spec is provided and the skill is instruction-only with a bundled Python script. It requires python3 to be present; nothing is downloaded or installed automatically. This is the lowest-risk install pattern.
凭证需求
The primary credential QQMAIL_AUTH_CODE is appropriate for an email client. However QQMAIL_USER is also required at runtime but not declared in the registry's required env vars. The mismatch can lead to runtime errors or accidental omission of the email address. The skill requests an authorization code (sensitive credential) — that is expected, but you should verify where and how you provide it before installing.
持久化与权限
The skill is not forced-always enabled (always:false) and does not request elevated persistence or modify other skills. It can be invoked autonomously (platform default) but that is expected for skills and not a special privilege here.
安全有层次,运行前请审查代码。

运行时依赖

🖥️ OSWindows · Linux · macOS

安装命令

点击复制
官方npx clawhub@latest install qqmail-1-0-0
镜像加速npx clawhub@latest install qqmail-1-0-0 --registry https://cn.longxiaskill.com

技能文档

QQ Mail Manager 通过标准 IMAP/SMTP 协议用 Python 脚本管理 QQ 邮箱。

前提 用户必须在 QQ 邮箱设置中开启 IMAP/SMTP 并获取授权码: 登录 mail.qq.com → 设置 → 账户 启用 IMAP/SMTP 服务 生成授权码(非 QQ 密码)

配置 技能从环境变量读取凭据: QQMAIL_USER — QQ 邮箱地址(如 123456789@qq.com) QQMAIL_AUTH_CODE — QQ 邮箱设置中的授权码

可用操作 读取最近邮件 python3 {baseDir}/scripts/qqmail.py inbox --limit 10 显示:发件人、主题、日期、正文预览。

按序号读邮件 python3 {baseDir}/scripts/qqmail.py read --index 1 显示完整正文。

发送邮件 python3 {baseDir}/scripts/qqmail.py send --to "recipient@example.com" --subject "Hello" --body "邮件内容"

带附件发送 python3 {baseDir}/scripts/qqmail.py send --to "recipient@example.com" --subject "报告" --body "见附件" --attachment "/path/to/file.pdf"

搜索邮件 python3 {baseDir}/scripts/qqmail.py search --subject "关键词" python3 {baseDir}/scripts/qqmail.py search --from "sender@example.com" python3 {baseDir}/scripts/qqmail.py search --since "2026-01-01" python3 {baseDir}/scripts/qqmail.py search --subject "meeting" --since "2026-02-01" --limit 5

列出文件夹 python3 {baseDir}/scripts/qqmail.py folders

读取指定文件夹 python3 {baseDir}/scripts/qqmail.py inbox --folder "Sent Messages" --limit 5

错误处理 认证失败:检查 QQMAIL_USER 与 QQMAIL_AUTH_CODE。 IMAP 未启用:提示用户前往设置开启。 连接错误:可能为网络或代理问题。

备注 QQ Mail IMAP 服务器:imap.qq.com:993(SSL) QQ Mail SMTP 服务器:smtp.qq.com:465(SSL) 脚本仅用 Python 3 标准库,无需 pip。 邮件内容自动检测编码,正确显示中文。

数据来源ClawHub ↗ · 中文优化:龙虾技能库