返回顶部
1

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, send email, or monitor inbox on 163/126/yeah.net accounts. Handles the Coremail-specific IMAP ID command requirement that causes "Unsafe Login" errors in standard clients.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
103
下载量
0
收藏
概述
安装方式
版本历史

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_ADDRESS=your@163.com 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`: ```bash # 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 "no-reply@amazon.com" # 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 recipient@example.com --subject "Hello" --body "Content here" # Send with attachment python3 scripts/mail_client.py send --to recipient@example.com --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 |

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 163-email-monitor-1776075782 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 163-email-monitor-1776075782 技能

通过命令行安装

skillhub install 163-email-monitor-1776075782

下载 Zip 包

⬇ 下载 163-email-monitor v1.0.1

文件大小: 5.94 KB | 发布时间: 2026-4-14 10:06

v1.0.1 最新 2026-4-14 10:06
Security improvements: improved error handling, better input validation, detailed documentation, safer connection management

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部