← Back to Skills Marketplace
QQ Email Manager
by
liangmu-git2
· GitHub ↗
· v1.0.0
· MIT-0
516
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install qq-email-manager
Description
企业邮箱管理(腾讯企业邮箱)。触发场景:用户说"查邮件"、"发邮件"、"回复邮件"、"转发邮件"、 "邮件列表"、"未读邮件"、"搜索邮件"、"邮箱统计"、"标记已读"等邮箱相关操作。
README (SKILL.md)
Email Manager
腾讯企业邮箱 IMAP/SMTP 客户端,通过 Python 脚本管理邮件。
环境要求
- Python 3.8+(标准库即可,无需额外安装依赖)
- 所有命令前需设置编码:
$env:PYTHONIOENCODING='utf-8'
命令
查看邮件列表
python {baseDir}/scripts/email_client.py list [--folder INBOX] [--unread] [--limit 20] [--days 7]
读取邮件
python {baseDir}/scripts/email_client.py read --id \x3Cmessage_id>
发送邮件
python {baseDir}/scripts/email_client.py send --to "[email protected],[email protected]" --subject "标题" --body "正文" [--cc "[email protected]"] [--html] [--attachment "path1,path2"]
回复邮件
python {baseDir}/scripts/email_client.py reply --id \x3Cmessage_id> --body "回复内容" [--all]
转发邮件
python {baseDir}/scripts/email_client.py forward --id \x3Cmessage_id> --to "[email protected]" [--body "转发说明"]
标记邮件
python {baseDir}/scripts/email_client.py mark --id \x3Cmessage_id> [--read] [--unread] [--star] [--unstar]
搜索邮件
python {baseDir}/scripts/email_client.py search [--query "关键词"] [--from "[email protected]"] [--since "2026-03-01"] [--before "2026-03-13"] [--limit 20]
列出文件夹
python {baseDir}/scripts/email_client.py folders
邮箱统计
python {baseDir}/scripts/email_client.py stats
输出
所有命令输出 JSON 格式,可直接解析。
安装配置(首次使用必读)
安装后需要修改配置文件 {baseDir}/config/email-config.json,填入你自己的邮箱账号和密码:
{
"imap": {
"host": "imap.exmail.qq.com",
"port": 993,
"ssl": true
},
"smtp": {
"host": "smtp.exmail.qq.com",
"port": 465,
"ssl": true
},
"account": {
"username": "你的邮箱地址",
"password": "你的邮箱密码或应用专用密码"
}
}
host/port:根据你的邮箱服务商修改(默认为腾讯企业邮箱)username:你的邮箱地址password:邮箱密码或应用专用密码(推荐使用应用专用密码)
常见邮箱服务商配置:
| 服务商 | IMAP Host | SMTP Host | IMAP Port | SMTP Port |
|---|---|---|---|---|
| 腾讯企业邮箱 | imap.exmail.qq.com | smtp.exmail.qq.com | 993 | 465 |
| QQ 邮箱 | imap.qq.com | smtp.qq.com | 993 | 465 |
| 163 邮箱 | imap.163.com | smtp.163.com | 993 | 465 |
| Gmail | imap.gmail.com | smtp.gmail.com | 993 | 465 |
Usage Guidance
This skill appears to implement a straightforward local IMAP/SMTP client and is coherent with its description. Before installing or using it: (1) review the full script yourself (or have a trusted reviewer) to confirm no unexpected network calls exist beyond IMAP/SMTP; (2) avoid writing real mailbox passwords into a repository or shared skill directory—use an application-specific password and store credentials in your agent's secret manager or a protected location, and limit file permissions; (3) prefer OAuth/app-passwords for providers that support them (Gmail); (4) verify TLS settings and that you trust the hosts configured in the JSON; (5) if you stop using the skill, remove the credentials from the config file. If you'd like, I can scan the rest of the truncated script content for specific patterns (posting to external endpoints, subprocess calls, or obfuscated code) if you provide the remaining lines.
Capability Analysis
Type: OpenClaw Skill
Name: qq-email-manager
Version: 1.0.0
The skill bundle is a legitimate email management tool for Tencent Enterprise Email (QQ Exmail) using standard IMAP and SMTP protocols. The Python script (email_client.py) uses built-in libraries and secure SSL/TLS connections to perform common tasks like listing, reading, and sending emails. There is no evidence of malicious intent, data exfiltration to third parties, or unauthorized command execution.
Capability Assessment
Purpose & Capability
Name/description (Tencent enterprise email manager) match the code and instructions: the script uses imaplib/smtplib to list, read, send, reply, forward, mark and search mail. No unrelated services or credentials are requested.
Instruction Scope
SKILL.md instructs the user to edit a local config/email-config.json with IMAP/SMTP host and account credentials and to run the provided Python script. The runtime instructions and file accesses (the config file under the skill directory) align with the stated email-management purpose and do not request other system files or collect unrelated data.
Install Mechanism
No install spec is provided and the skill includes a single Python script. No remote downloads or package installs are required by the skill itself, minimizing installation risk.
Credentials
The skill does not declare environment variables or secret inputs in the manifest but requires the user to place plaintext credentials (username/password or application password) into config/email-config.json. That is proportionate to the function (mail access) but has privacy/security implications: credentials are stored in a file inside the skill directory rather than integrated with a secret manager or using declared env vars.
Persistence & Privilege
The skill is not always-enabled and runs only when invoked. It does not request elevated system-wide privileges or modify other skills' configuration. Autonomous invocation is allowed (platform default) but not combined with other red flags.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install qq-email-manager - After installation, invoke the skill by name or use
/qq-email-manager - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: IMAP/SMTP email client supporting QQ Enterprise Mail, QQ Mail, 163, Gmail and more
Metadata
Frequently Asked Questions
What is QQ Email Manager?
企业邮箱管理(腾讯企业邮箱)。触发场景:用户说"查邮件"、"发邮件"、"回复邮件"、"转发邮件"、 "邮件列表"、"未读邮件"、"搜索邮件"、"邮箱统计"、"标记已读"等邮箱相关操作。 It is an AI Agent Skill for Claude Code / OpenClaw, with 516 downloads so far.
How do I install QQ Email Manager?
Run "/install qq-email-manager" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is QQ Email Manager free?
Yes, QQ Email Manager is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does QQ Email Manager support?
QQ Email Manager is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created QQ Email Manager?
It is built and maintained by liangmu-git2 (@liangmu-git2); the current version is v1.0.0.
More Skills