← 返回 Skills 市场
williamwang-wh

China Telecom Mail

作者 Williamwang-wh · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
109
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install china-telecom-mail
功能描述
Send and receive emails via China Telecom (POP3:995, SMTP:465). Lists today's emails, reads content, forwards emails, and sends new emails.
使用说明 (SKILL.md)

China Telecom Mail Skill

Send and receive emails via China Telecom (pop.chinatelecom.cn:995, smtp.chinatelecom.cn:465).

Installation

Copy the china-telecom-mail folder to your OpenClaw skills directory:

# On Linux/macOS
cp -r china-telecom-mail ~/.openclaw/skills/

# On Windows
# Copy to C:\Users\\x3Cyourusername>\.openclaw\skills\china-telecom-mail

Configuration

Edit ~/.openclaw/skills/china-telecom-mail/config.toml:

[email]
# POP3 server (for receiving)
server = "pop.chinatelecom.cn"
port = 995
username = "[email protected]"
password = "your_password"

[smtp]
# SMTP server (for sending)
server = "smtp.chinatelecom.cn"
port = 465

Usage

Receive Emails

List today's emails:

openclaw run --skill china-telecom-mail list-today

Read a specific email:

openclaw run --skill china-telecom-mail read 21

JSON output:

openclaw run --skill china-telecom-mail json-summary

Count today's emails:

openclaw run --skill china-telecom-mail count

Send Emails

Send a simple email:

openclaw run --skill china-telecom-mail send \
  --to "[email protected]" \
  --subject "会议通知" \
  --body "请参加明天下午3点的会议。"

Send with attachment:

openclaw run --skill china-telecom-mail send \
  --to "[email protected]" \
  --subject "报告" \
  --body "请查收附件" \
  --attachment "/path/to/report.pdf"

Forward Emails

Forward an email:

openclaw run --skill china-telecom-mail forward \
  --email-id 21 \
  --to "[email protected]"

Interactive Mode

uv run python ~/.openclaw/skills/china-telecom-mail/main.py interactive

Direct Python Usage

# List today's emails
uv run python ~/.openclaw/skills/china-telecom-mail/main.py list-today

# Read email
uv run python ~/.openclaw/skills/china-telecom-mail/main.py read 21

# Send email
uv run python ~/.openclaw/skills/china-telecom-mail/main.py send \
  --to "[email protected]" \
  --subject "Test" \
  --body "Hello"

# Forward email
uv run python ~/.openclaw/skills/china-telecom-mail/main.py forward \
  --email-id 21 \
  --to "[email protected]"

Directory Structure

china-telecom-mail/
├── SKILL.md          # OpenClaw skill metadata
├── main.py           # Main program (receive + send)
├── config.toml       # Configuration file
├── README.md         # This file
└── config.toml.example  # Config template

Features

Receive

  • ✅ List today's emails with previews
  • ✅ Read full email content
  • ✅ JSON output for automation
  • ✅ Automatic Chinese encoding detection

Send

  • ✅ Send plain text emails
  • ✅ Send emails with attachments
  • ✅ Forward received emails
  • ✅ Interactive mode

Tips

  • Use list-today to see all today's emails
  • Email IDs are 1-based (first email is ID 1)
  • Use forward to forward received emails
  • Use send to send new emails
  • Supports both text and HTML email bodies
安全使用建议
This skill appears to be a simple China Telecom POP3/SMTP client and is coherent with its description, but before installing: 1) Inspect the full main.py file (the provided listing was truncated) to confirm there is no hidden network activity or unexpected data uploads. 2) Store credentials securely: use an app-specific password or authorization code (if China Telecom supports it) and set config.toml file permissions so others can't read it; do not commit it to version control. 3) Note README mentions environment-variable support that the code does not appear to implement—verify how you want to supply credentials. 4) If you are concerned about risk, run the skill in an isolated environment (container or VM) the first time and monitor network connections. 5) If you need stronger guarantees, prefer a client that supports token-based auth (OAuth) or official libraries from the service provider.
功能分析
Type: OpenClaw Skill Name: china-telecom-mail Version: 1.0.0 The skill provides email management via POP3 and SMTP, including the ability to read local files and send them as attachments. While these features are aligned with the stated purpose, the combination of arbitrary file access and network exfiltration (sending emails) constitutes a high-risk capability according to the review criteria. Additionally, the code contains a hardcoded email address ([email protected]) in both main.py and config.toml, which is a notable configuration risk.
能力评估
Purpose & Capability
Name/description (China Telecom mail via POP3/SMTP) matches the code and instructions: the script connects to pop.chinatelecom.cn:995 and smtp.chinatelecom.cn:465 and implements list/read/send/forward functionality. Required binaries (python, uv) correspond to the documented usage.
Instruction Scope
Runtime instructions stay within the stated purpose (copy skill, edit config.toml, run commands). One minor inconsistency: README claims support for environment-variable configuration, but load_config() only reads config.toml (no environment-variable parsing was found in the provided source). Also the provided main.py content is truncated in the listing, so the final forwarding logic and any remaining behavior should be reviewed in the full file.
Install Mechanism
No install/download steps or remote installers are included; the skill is distributed as files to copy into the skills directory. This has low install risk because nothing is pulled from external URLs.
Credentials
The skill requires storing your China Telecom email username/password in config.toml (expected for an IMAP/POP3 client). No unrelated credentials or environment variables are requested. Credentials are stored locally in the skill directory (user-provided), which is normal but requires safe handling.
Persistence & Privilege
The skill does not request elevated platform privileges and is not always-enabled. It runs only when invoked; autonomous invocation is allowed by default on the platform but is not combined here with excessive privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install china-telecom-mail
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /china-telecom-mail 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of China Telecom Mail skill. - Send and receive emails via China Telecom using POP3 and SMTP. - List today’s emails, read full email content, and output email summaries as JSON. - Send new emails with support for attachments and both text/HTML bodies. - Forward received emails to other recipients. - Interactive and command-line modes supported. - Automatic Chinese encoding detection included.
元数据
Slug china-telecom-mail
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

China Telecom Mail 是什么?

Send and receive emails via China Telecom (POP3:995, SMTP:465). Lists today's emails, reads content, forwards emails, and sends new emails. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 109 次。

如何安装 China Telecom Mail?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install china-telecom-mail」即可一键安装,无需额外配置。

China Telecom Mail 是免费的吗?

是的,China Telecom Mail 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

China Telecom Mail 支持哪些平台?

China Telecom Mail 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 China Telecom Mail?

由 Williamwang-wh(@williamwang-wh)开发并维护,当前版本 v1.0.0。

💬 留言讨论