email SKILL.md skillA
email from zrong/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zrong/skills/email@git:20260401.b7b7462Pins git:20260401.b7b7462 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zrong/skills
- Path
email/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260401.b7b7462, committed Apr 1, 2026
- First version recorded
- Mar 17, 2026
- Size
- 5,488 bytes
- Repository stars
- 13
- License
- none declared
邮件处理工具(基于 IMAP)。搜索、读取、下载附件、移动邮件。 触发场景: - 用户需要查看、搜索、管理邮件 - 用户需要下载邮件附件 - 用户需要移动、归档邮件 - 用户提到"邮件"、"邮箱"、"收件箱"、"附件".
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 邮件处理 Skill
基于 IMAP 协议的邮件 CLI 工具。Python 3.13+ 必需。
## 首次使用
运行 `init` 命令交互式创建配置:
```bash
python3 scripts/email_tool.py init
```
会依次询问:
1. 配置文件保存路径(默认 `agent_config.toml`,保存在当前项目目录)
2. 账户名(默认 `qqmail`)
3. 邮箱地址、IMAP/SMTP 服务器信息
4. 密码/授权码
结果:
- 配置(含密码)写入 `agent_config.toml`(与其他 skill 共用同一配置文件)
- 密码同时写入 `.env`(优先级更高)
- 自动将 `.env` 加入 `.gitignore`
- 自动测试 IMAP 连接
## 配置说明
配置文件为 `agent_config.toml`(多 skill 共用,按 `[skill名]` 分区)。
查找策略:当前目录 → skill 目录 → git 根目录。
模板位于 skill 目录的 `agent_config.example.toml`。
**agent_config.toml**(`[email]` 区块):
```toml
[email.accounts.qqmail]
email = "user@example.com"
imap_host = "imap.qq.com"
imap_port = 993
smtp_host = "smtp.qq.com"
smtp_port = 465
password = "your_app_password"
```
**密码优先级**(从高到低):
1. `.env` 文件中的 `EMAIL_{ACCOUNT}_PASSWORD` 环境变量
2. `agent_config.toml` 中账户的 `password` 字段
环境变量命名规则:`EMAIL_{ACCOUNT}_PASSWORD`,ACCOUNT 为账户名大写。
## 脚本路径
相对于 skill 安装目录:`scripts/email_tool.py`
所有命令在**项目目录**下执行(配置文件通过三位置发现策略自动查找)。
## 命令速查
| 命令 | 用途 | 示例 |
|------|------|------|
| `init` | 交互式初始化配置 | `email_tool.py init` |
| `folders` | 列出所有文件夹 | `email_tool.py folders` |
| `list` | 搜索列出邮件 | `email_tool.py list --subject "发票" --last 5` |
…Read the whole file at its exact version.
How to install
mdr add zrong/skills/email@sha256:9a6508816e5b3271The line at the top of this page pins the label git:20260401.b7b7462, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_whg5ba2oydbsrdga)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Mar 17, 2026 and Apr 1, 2026, about one every 15 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260401.b7b7462 latest | 2026-04-01 | b7b7462 | 5,488 B | A | view · diff |
| git:20260317.56efd6f | 2026-03-17 | 56efd6f | 5,061 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5488 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
zrong/skills · 13 stars · license none declared · pushed 2026-10-29 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_whg5ba2oydbsrdga GET https://markdownregistry.com/api/v1/resolve?ref=zrong/skills/email GET https://markdownregistry.com/api/v1/blob/9a6508816e5b3271d92ecf99ed304df46d36a160cad11983a1a5ea8d15a79d5a
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.