leogao

QQ Mail

办公效率v1.0.0
作者:leogao更新于 2026-05-17qqmail@clawhub_pdpaer/qqmail
邮件处理

据 AlphaMoat 统计,截至 2026-09,QQ Mail 累计下载 2,880 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 3,813 位,在「办公效率」分类(435 个)中排名第 281 位。

累计安装
187
累计下载
2,880
星标
1
全站排名
#3,813
全站前 76% · 「办公效率」前 65%
平台累计安装累计下载星标评论
ClawHub ↗862,6411-
SkillHub ↗1872,8801—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

主文列出使用 IMAP/SMTP 读取邮件、按主题或发件人搜索、发送邮件与附件、查看文件夹等操作。使用前需在 QQ 邮箱启用相关服务,并在环境变量中配置邮箱账号和授权码;授权码不同于 QQ 密码。

资料发布于 2026-10-27

可以用来做什么

  • 读取和搜索 QQ 邮箱邮件
  • 发送邮件或带附件的邮件
  • 查看邮箱文件夹

什么时候用

  • 用户要求处理 QQ 邮箱中的邮件时
  • 需要通过脚本读取、搜索或发送邮件时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

搜索 QQ 邮箱中主题包含“发票”的邮件
起草一封邮件并列出发送前要确认的收件人与附件

月度数据趋势

累计下载2,880
1,0022,0113,0192026-03 · 累计下载 1,1412026-05 · 累计下载 1,8782026-06 · 累计下载 2,0652026-07 · 累计下载 2,3252026-08 · 累计下载 2,5062026-09 · 累计下载 2,88026-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-092,880—1
2026-082,506+7.8%1
2026-072,325+12.6%1
2026-062,065+10.0%1
2026-051,878—1
2026-031,141—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.6 KB · ClawHub v1.0.0
---
name: qqmail
description: Manage QQ Mail (QQ邮箱) via IMAP/SMTP. Use when the user wants to read, send, search, or manage emails from their QQ mailbox. Supports reading inbox, sending emails with attachments, searching by subject/sender/date, and listing folders.
metadata: {"openclaw": {"requires": {"bins": ["python3"]}, "os": ["win32", "linux", "darwin"], "primaryEnv": "QQMAIL_AUTH_CODE"}}
---

# QQ Mail Manager

Manage QQ邮箱 via standard IMAP/SMTP protocols using Python scripts.
展开全部(共 78 行)
## Prerequisites

The user must enable IMAP/SMTP in QQ Mail settings and obtain an authorization code (授权码):
1. Log in to mail.qq.com → Settings (设置) → Account (账户)
2. Enable IMAP/SMTP service
3. Generate an authorization code (授权码) — this is NOT the QQ password

## Configuration

The skill reads credentials from environment variables:
- `QQMAIL_USER` — QQ email address (e.g. `[email protected]`)
- `QQMAIL_AUTH_CODE` — Authorization code from QQ Mail settings (授权码)

## Available Operations

### Read recent emails
```bash
python3 {baseDir}/scripts/qqmail.py inbox --limit 10
```
Shows: sender, subject, date, and a text preview of each email.

### Read a specific email by index
```bash
python3 {baseDir}/scripts/qqmail.py read --index 1
```
Shows the full email content (text body).

### Send an email
```bash
python3 {baseDir}/scripts/qqmail.py send --to "[email protected]" --subject "Hello" --body "Email content here"
```

### Send with attachment
```bash
python3 {baseDir}/scripts/qqmail.py send --to "[email protected]" --subject "Report" --body "See attached" --attachment "/path/to/file.pdf"
```

### Search emails
```bash
python3 {baseDir}/scripts/qqmail.py search --subject "keyword"
python3 {baseDir}/scripts/qqmail.py search --from "[email protected]"
python3 {baseDir}/scripts/qqmail.py search --since "2026-01-01"
python3 {baseDir}/scripts/qqmail.py search --subject "meeting" --since "2026-02-01" --limit 5
```

### List mail folders
```bash
python3 {baseDir}/scripts/qqmail.py folders
```

### Read from a specific folder
```bash
python3 {baseDir}/scripts/qqmail.py inbox --folder "Sent Messages" --limit 5
```

## Error Handling

- If authentication fails: verify QQMAIL_USER and QQMAIL_AUTH_CODE are set correctly.
- If IMAP is not enabled: guide the user to enable it in QQ Mail settings.
- Connection errors may indicate network issues or proxy requirements.

## Notes

- QQ Mail IMAP server: `imap.qq.com:993` (SSL)
- QQ Mail SMTP server: `smtp.qq.com:465` (SSL)
- All scripts use Python 3 standard library only (no pip install needed).
- Email content is decoded with charset detection for proper Chinese display.

「办公效率」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。