返回顶部
1

163-email-monitor163邮箱监控

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
安全检测
已通过
127
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

163-email-monitor

163 邮箱监控

核心洞察:Coremail ID 命令

163/126/yeah.net 使用 Coremail 系统,在任何邮箱操作前必须先发送 IMAP ID 命令,否则即使凭据有效也会返回不安全登录错误。

配置

前置条件

在 ~/.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
EMAILPASSWORD=yourauth_code

EMAIL_PASSWORD 是授权码,而非登录密码。用户获取方式:163 邮箱 → 设置 → POP3/SMTP/IMAP → 开启 IMAP → 获取授权码。

服务器参考

服务商IMAP 服务器SMTP 服务器
163.comimap.163.com:993smtp.163.com:465
126.com
imap.126.com:993 | smtp.126.com:465 | | yeah.net | imap.yeah.net:993 | smtp.yeah.net:465 |

使用说明

所有操作均使用 scripts/mail_client.py:

bash

读取未读邮件


python3 scripts/mail_client.py read --unread

读取最新 N 封邮件

python3 scripts/mail_client.py read --latest 10

按关键词搜索邮件

python3 scripts/mail_client.py search amazon

按发件人搜索

python3 scripts/mail_client.py search --from no-reply@amazon.com

按日期范围搜索

python3 scripts/mail_client.py search --since 2026-03-01 --before 2026-03-23

发送邮件

python3 scripts/mail_client.py send --to recipient@example.com --subject Hello --body Content here

发送带附件的邮件

python3 scripts/mail_client.py send --to recipient@example.com --subject Report --body See attached --attach /path/to/file.pdf

添加 --env /path/to/.env 参数可覆盖默认配置路径。

故障排除

错误信息原因解决方法
Unsafe Login缺少 ID 命令使用本技能的脚本(自动处理)
AUTHENTICATIONFAILED
授权码错误 | 在 163 网页设置中重新生成授权码 | | LOGIN failed | IMAP 未开启 | 在 163 邮箱 → 设置中开启 IMAP |

标签

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

下载

⬇ 下载 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-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部