๐ฆ ClawHub
China Telecom Mail
by @williamwang-wh
Send and receive emails via China Telecom (POP3:995, SMTP:465). Lists today's emails, reads content, forwards emails, and sends new emails.
TERMINAL
clawhub install china-telecom-mail๐ About This Skill
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: { "openclaw": { "emoji": "๐ง", "requires": { "bins": ["uv", "python"] }, "install": [], }, }
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\\.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 = "your_email@chinatelecom.cn"
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 "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 interactive
Direct Python Usage
# List today's emails
uv run python ~/.openclaw/skills/china-telecom-mail/main.py list-todayRead email
uv run python ~/.openclaw/skills/china-telecom-mail/main.py read 21Send 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 template
Features
Receive
Send
Tips
list-today to see all today's emailsforward to forward received emailssend to send new emails๐ก Examples
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 "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 interactive
โ๏ธ Configuration
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 = 465
๐ Tips & Best Practices
list-today to see all today's emailsforward to forward received emailssend to send new emails