← Back to Skills Marketplace
williamwang-wh

China Telecom Mail

by Williamwang-wh · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
109
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install china-telecom-mail
Description
Send and receive emails via China Telecom (POP3:995, SMTP:465). Lists today's emails, reads content, forwards emails, and sends new emails.
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install china-telecom-mail
  3. After installation, invoke the skill by name or use /china-telecom-mail
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug china-telecom-mail
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 109 downloads so far.

How do I install China Telecom Mail?

Run "/install china-telecom-mail" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is China Telecom Mail free?

Yes, China Telecom Mail is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does China Telecom Mail support?

China Telecom Mail is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created China Telecom Mail?

It is built and maintained by Williamwang-wh (@williamwang-wh); the current version is v1.0.0.

💬 Comments