- name
- 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.
- metadata
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\<yourusername>\.openclaw\skills\china-telecom-mailConfiguration
Edit ~/.openclaw/skills/china-telecom-mail/config.toml:
[email]
# POP3 server (for receiving)
server = "pop.chinatelecom.cn"
port = 995
username = "your_email@chinatelecom.cn"
password = "your_password"
[smtp]
# SMTP server (for sending)
server = "smtp.chinatelecom.cn"
port = 465Usage
Receive Emails
List today's emails:
openclaw run --skill china-telecom-mail list-todayRead a specific email:
openclaw run --skill china-telecom-mail read 21JSON output:
openclaw run --skill china-telecom-mail json-summaryCount today's emails:
openclaw run --skill china-telecom-mail countSend Emails
Send a simple email:
openclaw run --skill china-telecom-mail send \
--to "recipient@example.com" \
--subject "会议通知" \
--body "请参加明天下午3点的会议。"Send with attachment:
openclaw run --skill china-telecom-mail send \
--to "recipient@example.com" \
--subject "报告" \
--body "请查收附件" \
--attachment "/path/to/report.pdf"Forward Emails
Forward an email:
openclaw run --skill china-telecom-mail forward \
--email-id 21 \
--to "recipient@example.com"Interactive Mode
uv run python ~/.openclaw/skills/china-telecom-mail/main.py interactiveDirect 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 "test@example.com" \
--subject "Test" \
--body "Hello"
# Forward email
uv run python ~/.openclaw/skills/china-telecom-mail/main.py forward \
--email-id 21 \
--to "recipient@example.com"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 templateFeatures
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-todayto see all today's emails - Email IDs are 1-based (first email is ID 1)
- Use
forwardto forward received emails - Use
sendto send new emails - Supports both text and HTML email bodies