163 Email Monitor
/install 163-email-monitor
163 Email Monitor
Key Insight: Coremail ID Command
163/126/yeah.net use Coremail which requires an IMAP ID command before any mailbox operation, otherwise returns "Unsafe Login" even with valid credentials.
Setup
Prerequisites
Credentials in ~/.openclaw/email-monitor/.env:
IMAP_SERVER=imap.163.com
IMAP_PORT=993
SMTP_SERVER=smtp.163.com
SMTP_PORT=465
[email protected]
EMAIL_PASSWORD=your_auth_code
The EMAIL_PASSWORD is the 授权码 (authorization code), not the login password. Users obtain it from: 163 Mail → Settings → POP3/SMTP/IMAP → Enable IMAP → Get authorization code.
Server Reference
| Provider | IMAP Server | SMTP Server |
|---|---|---|
| 163.com | imap.163.com:993 | smtp.163.com:465 |
| 126.com | imap.126.com:993 | smtp.126.com:465 |
| yeah.net | imap.yeah.net:993 | smtp.yeah.net:465 |
Usage
All operations use scripts/mail_client.py:
# Read unread emails
python3 scripts/mail_client.py read --unread
# Read latest N emails
python3 scripts/mail_client.py read --latest 10
# Search emails by keyword
python3 scripts/mail_client.py search "amazon"
# Search by sender
python3 scripts/mail_client.py search --from "[email protected]"
# Search by date range
python3 scripts/mail_client.py search --since 2026-03-01 --before 2026-03-23
# Send email
python3 scripts/mail_client.py send --to [email protected] --subject "Hello" --body "Content here"
# Send with attachment
python3 scripts/mail_client.py send --to [email protected] --subject "Report" --body "See attached" --attach /path/to/file.pdf
Pass --env /path/to/.env to override default config location.
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
Unsafe Login |
Missing ID command | Use this skill's script (handles automatically) |
AUTHENTICATIONFAILED |
Wrong auth code | Regenerate 授权码 in 163 web settings |
LOGIN failed |
IMAP not enabled | Enable IMAP in 163 Mail → Settings |
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install 163-email-monitor - 安装完成后,直接呼叫该 Skill 的名称或使用
/163-email-monitor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
163 Email Monitor 是什么?
Connect to 163/126/yeah.net (Coremail) email via IMAP, read inbox, search emails, and send emails via SMTP. Activate when user asks to check email, read mail... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 163 次。
如何安装 163 Email Monitor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install 163-email-monitor」即可一键安装,无需额外配置。
163 Email Monitor 是免费的吗?
是的,163 Email Monitor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
163 Email Monitor 支持哪些平台?
163 Email Monitor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 163 Email Monitor?
由 Emory Sermon(@hanyuhh)开发并维护,当前版本 v1.0.1。