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
累計下載
2880
星標
1
全站排名
#3,813
全站前 76% · 「辦公效率」前 65%
平台累計安裝累計下載星標評論
ClawHub ↗8626411-
SkillHub ↗18728801—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文列出使用 IMAP/SMTP 讀取郵件、按主題或發件人搜尋、傳送郵件與附件、檢視資料夾等操作。使用前需在 QQ 電子郵件啟用相關服務,並在環境變數中配置電子郵件賬號和授權碼;授權碼不同於 QQ 密碼。

資料釋出於 2026-10-27

可以用來做什麼

  • 讀取和搜尋 QQ 電子郵件郵件
  • 傳送郵件或帶附件的郵件
  • 檢視電子郵件資料夾

什麼時候用

  • 使用者要求處理 QQ 電子郵件中的郵件時
  • 需要透過指令碼讀取、搜尋或傳送郵件時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

搜尋 QQ 電子郵件中主題包含“發票”的郵件
起草一封郵件並列出傳送前要確認的收件人與附件

月度資料趨勢

累計下載2880
1002201130192026-03 · 累計下載 11412026-05 · 累計下載 18782026-06 · 累計下載 20652026-07 · 累計下載 23252026-08 · 累計下載 25062026-09 · 累計下載 288026-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092880—1
2026-082506+7.8%1
2026-072325+12.6%1
2026-062065+10.0%1
2026-051878—1
2026-031141—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),按月更新。口徑說明見資料方法。