China Telecom Mail for Openclaw

An automation-ready email management skill for China Telecom accounts supporting secure POP3 and SMTP protocols.

williamwang-wh
v1.0.0
Mar 30, 2026
0
653
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install china-telecom-mail

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install china-telecom-mail using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is China Telecom Mail?

The China Telecom Mail skill is a robust communication module designed to bridge the gap between AI agents and traditional email services. By providing a streamlined interface for China Telecom's POP3 (pop.chinatelecom.cn) and SMTP (smtp.chinatelecom.cn) servers, it allows for the programmatic handling of messages, including reading, sending, and forwarding. This skill is a vital addition to your collection of Openclaw Skills, especially for users requiring stable integration with Chinese telecommunication infrastructure.

Built with developer experience in mind, it handles the complexities of Chinese encoding detection automatically, ensuring that both plain text and HTML emails are processed correctly. Whether you are building an automated notification system or a personal assistant that summarizes your inbox, this skill provides the necessary endpoints to interact with your mail server via simple CLI commands or Python scripts.

China Telecom Mail Use Cases

  • Automatically fetching and summarizing today's incoming emails for a daily briefing.
  • Sending automated system reports or logs as attachments via a secure SMTP connection.
  • Forwarding critical notifications from a China Telecom account to a team communication channel.
  • Monitoring account activity by counting and listing today's emails in a JSON-compatible format.

How China Telecom Mail Works

  1. The skill establishes a secure connection to the China Telecom POP3 server on port 995 to retrieve email headers or full message bodies.
  2. Commands are issued via the Openclaw CLI or direct Python execution to perform specific actions like listing, reading, or counting.
  3. For outgoing mail, the skill utilizes SMTP over port 465, authenticating with the provided credentials to deliver messages and attachments.
  4. Integrated encoding detection logic parses the email content to ensure Chinese characters are displayed correctly without manual intervention.
  5. Results can be returned as standard output for human reading or as structured JSON for consumption by other Openclaw Skills in an automation chain.

China Telecom Mail Setup

First, copy the skill directory to your local Openclaw environment:

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

Next, configure your account credentials in the config.toml file located within the skill folder:

[email]
server = "pop.chinatelecom.cn"
port = 995
username = "[email protected]"
password = "your_password"

[smtp]
server = "smtp.chinatelecom.cn"
port = 465

China Telecom Mail Data Schema & Taxonomy

The skill organizes its operations through a clean directory structure and structured data outputs:

Component Functionality
main.py The primary entry point for all email operations.
config.toml Stores sensitive server and authentication metadata.
json-summary An output format that provides email IDs, subjects, and metadata for machine parsing.
attachment Supports local file paths for sending binary data via SMTP.

Email IDs are 1-based integers, used as unique identifiers for the current session to read or forward specific messages.

China Telecom Mail Advanced Features

  • Support for multi-part emails, allowing the sending of both plain text and HTML bodies simultaneously.
  • Attachment handling for sending files like PDFs or reports directly from the terminal.
  • Interactive mode that provides a shell-like experience for managing emails manually.
  • Seamless integration with the broader library of Openclaw Skills through standard JSON output formats for agent-to-agent communication.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*