← 返回 Skills 市场
GoToEmail — 邮箱绑定
作者
feixuelingcloud
· GitHub ↗
· v1.0.1
· MIT-0
44
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install gotoemail
功能描述
绑定邮箱账户并管理邮件。支持 163/126/QQ/雅虎邮箱(IMAP/SMTP+授权码)、Gmail(IMAP+App密码)、企业邮箱(自定义IMAP/SMTP服务器,端口可配)。不支持需要 OAuth 的邮箱(Outlook/M365/iCloud)。触发词:绑定邮箱、添加邮箱、配置邮箱、读邮件、查收邮件、发...
使用说明 (SKILL.md)
GoToEmail
绑定流程
第一步:确认邮箱类型
⚡ 推荐(授权码方式)
1. 163邮箱 / 126邮箱 / yeah.net
2. QQ邮箱 / Foxmail
其他方式
3. Gmail — App 密码
4. 雅虎邮箱 (Yahoo) — App 密码
5. 企业邮箱 — 自定义 IMAP/SMTP
❌ 不支持:Outlook / M365 / iCloud(OAuth 类,请在宿主应用中配置)
第二步:引导获取授权码
授权码/App密码获取步骤见 references/providers.md 的「授权码获取指南」节。
第三步:收集凭据
- 163 / QQ / Yahoo / Gmail:邮箱地址 + 授权码/App密码
- 企业邮箱:额外收集 IMAP服务器、IMAP端口(默认993)、SMTP服务器、SMTP端口(默认465)
第四步:测试连接
通过 stdin 传入 JSON 运行脚本:
echo '{"email":"[email protected]","password":"授权码"}' | python scripts/test_connection.py
企业邮箱需额外传入自定义服务器:
echo '{"email":"[email protected]","password":"pass","imap_host":"imap.corp.com","smtp_host":"smtp.corp.com"}' | python scripts/test_connection.py
- 返回
{"ok":true,...}→ 绑定成功,告知用户并保存配置 - 返回
{"ok":false,"error":"..."}→ 根据错误信息排查(见references/providers.md错误处理节)
邮件操作
获取邮件列表
echo '{"email":"...","password":"...","imap_host":"imap.163.com","imap_port":993,"folder":"INBOX","limit":20,"unread_only":false}' | python scripts/list_emails.py
返回字段:uid、subject、from、date、unread
读取单封邮件
echo '{"email":"...","password":"...","imap_host":"imap.163.com","uid":"1234","mark_as_read":true}' | python scripts/read_email.py
返回字段:subject、from、to、date、body(纯文本)、attachments
发送邮件
echo '{"email":"...","password":"...","smtp_host":"smtp.163.com","smtp_port":465,"to":"收件人@example.com","subject":"主题","body":"正文内容"}' | python scripts/send_email.py
to 接受字符串或列表;可选字段:cc、bcc、html_body
服务器快速参考
| 提供商 | IMAP 服务器:端口 | SMTP 服务器:端口 |
|---|---|---|
| 163邮箱 | imap.163.com:993 | smtp.163.com:465 |
| 126邮箱 | imap.126.com:993 | smtp.126.com:465 |
| QQ邮箱 | imap.qq.com:993 | smtp.qq.com:465 |
| Gmail | imap.gmail.com:993 | smtp.gmail.com:465 |
| 雅虎 | imap.mail.yahoo.com:993 | smtp.mail.yahoo.com:465 |
企业邮箱:用户自定义,全程 SSL/TLS。
👉 完整授权码获取步骤与错误排查见 references/providers.md
安全使用建议
Install only if you are comfortable giving the skill access to your mailbox. Use revocable app passwords or authorization codes, avoid primary account passwords where possible, confirm each send/read action, set mark_as_read to false unless you want messages changed, and revoke the mailbox token if it is exposed or no longer needed.
能力标签
能力评估
Purpose & Capability
The artifacts coherently implement email binding and IMAP/SMTP mail operations, and the sensitive mailbox capabilities are related to that purpose.
Instruction Scope
The trigger phrases are broad, the workflow collects app passwords or authorization codes, sending and reading actions are not framed with explicit per-action confirmation, and reading defaults to marking messages as seen.
Install Mechanism
The package contains markdown instructions and small Python scripts with no declared third-party dependencies; static scan was clean and VirusTotal telemetry was unavailable/null.
Credentials
Full mailbox credentials, message contents, recipient lists, and outbound email authority are high-impact for a simple skill, and the artifacts do not clearly disclose privacy, logging, retention, or safe secret-handling expectations.
Persistence & Privilege
SKILL.md tells the agent to save configuration after a successful bind, but does not specify where credentials are stored, whether secrets are retained, or how users can revoke or delete them; read_email.py also mutates mailbox state by default.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gotoemail - 安装完成后,直接呼叫该 Skill 的名称或使用
/gotoemail触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
加入 GitHub 源码链接 (homepage)
v1.0.0
Initial release: 支持163/126/QQ/雅虎/Gmail(App密码)/企业自定义IMAP/SMTP
元数据
常见问题
GoToEmail — 邮箱绑定 是什么?
绑定邮箱账户并管理邮件。支持 163/126/QQ/雅虎邮箱(IMAP/SMTP+授权码)、Gmail(IMAP+App密码)、企业邮箱(自定义IMAP/SMTP服务器,端口可配)。不支持需要 OAuth 的邮箱(Outlook/M365/iCloud)。触发词:绑定邮箱、添加邮箱、配置邮箱、读邮件、查收邮件、发... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。
如何安装 GoToEmail — 邮箱绑定?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gotoemail」即可一键安装,无需额外配置。
GoToEmail — 邮箱绑定 是免费的吗?
是的,GoToEmail — 邮箱绑定 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
GoToEmail — 邮箱绑定 支持哪些平台?
GoToEmail — 邮箱绑定 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 GoToEmail — 邮箱绑定?
由 feixuelingcloud(@feixuelingcloud)开发并维护,当前版本 v1.0.1。
推荐 Skills