返回顶部
r

registration-scanner注册扫描器

Scans email accounts (Gmail, iCloud, Outlook, Yahoo, AOL, GMX, Web.de, Fastmail, Proton, T-Online and more) for registration, welcome and confirmation emails to build a chronological list of all services the user has ever signed up for. Triggers on phrases like "where am I registered", "scan my email for registrations", "show me all my accounts", "welche dienste habe ich", "wo bin ich registriert", "liste mes inscriptions", "encuentra mis registros".

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

registration-scanner

注册扫描器

扫描一个或多个邮箱账户中的注册相关邮件,并返回用户曾注册过的所有服务的去重、按日期排序的列表。

支持的邮箱提供商

提供商访问方式
GmailGmail工具 / MCP连接器
iCloud Mail
IMAP – imap.mail.me.com:993 | | Outlook / Hotmail / Live | IMAP – outlook.office365.com:993 | | Yahoo Mail | IMAP – imap.mail.yahoo.com:993 | | AOL Mail | IMAP – imap.aol.com:993 | | GMX | IMAP – imap.gmx.net:993 | | Web.de | IMAP – imap.web.de:993 | | T-Online | IMAP – secureimap.t-online.de:993 | | Fastmail | IMAP – imap.fastmail.com:993 | | Proton Mail | IMAP桥接 – 127.0.0.1:1143(需运行桥接程序) |

完整的提供商详情和IMAP设置指南 → {baseDir}/references/providers.md



步骤1 – 确认账户

在执行任何操作前,先询问用户要扫描哪些邮箱账户:

我应该扫描哪些邮箱账户?(例如:Gmail、iCloud、Outlook、Yahoo、AOL、GMX、Web.de、T-Online、Fastmail、Proton – 或者全部扫描?)

等待用户回答。在用户确认之前不要继续。



步骤2 – 收集凭证

Gmail

如果已配置,使用Gmail工具或Gmail MCP连接器。 如果未配置,告知用户:

请先通过 openclaw configure 或启用Gmail MCP连接器来连接您的Gmail账户。

IMAP提供商(iCloud、Outlook、Yahoo、AOL、GMX、Web.de、T-Online、Fastmail)

向用户说明:

对于[提供商],我需要您的邮箱地址和一个应用专用密码(不是您的常规登录密码)。您可以在账户的安全设置中生成一个。我仅会在本次会话中使用它,绝不会以明文形式存储。

关于生成应用密码的提供商特定说明 → {baseDir}/references/providers.md

Proton Mail

Proton Mail需要在本地运行Proton Mail桥接程序

对于Proton Mail,请确保Proton Mail桥接程序正在运行。我将在本地通过127.0.0.1:1143连接。


步骤3 – 执行扫描

Gmail

使用Gmail工具按顺序执行以下搜索查询。收集所有匹配的邮件ID。

所有语言的搜索查询 → {baseDir}/references/search-queries.md

IMAP账户

使用位于 {baseDir}/scripts/imap_scan.py 的Python脚本进行连接和搜索:

bash
python3 {baseDir}/scripts/imap_scan.py \
--host imap.mail.me.com \
--port 993 \
--user user@icloud.com \
--password app-specific-password \
--output /tmp/registrationscanresults.json

该脚本会自动运行所有搜索查询批次,并返回匹配结果的JSON列表。

为每个IMAP账户分别运行此脚本,将结果保存到不同的临时文件中。



步骤4 – 解析和去重结果

对于每封匹配的邮件:

  1. 1. 提取:发件人、日期、主题
  2. 从发件人域名或主题行中推导出服务名称
示例:noreply@spotify.com → Spotify,hello@notion.so → Notion
  1. 3. 按服务去重:每个服务仅保留最早的条目(即原始注册邮件)
  2. 跳过:事务性邮件(密码重置、收据)、无注册背景的纯新闻通讯、内部/个人发件人

步骤5 – 输出

最新在前的顺序呈现最终列表。使用以下格式:

📋 已注册服务 – [账户名称]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
发现:XX个服务 | 时间范围:YYYY – YYYY

YYYY-MM-DD 服务名称
发件人:sender@domain.com

YYYY-MM-DD 服务名称
发件人:sender@domain.com
...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

如果扫描了多个账户,将所有结果合并为一个按日期排序的统一列表。

显示列表后,询问:

是否要将此保存为文件?或者按特定服务或日期范围进行筛选?




错误处理

  • - IMAP认证失败:请用户重新检查其应用密码。设置步骤请参考 {baseDir}/references/providers.md。
  • IMAP未启用:iCloud、Yahoo、Outlook可能需要在账户设置中开启IMAP。提供商指南 → {baseDir}/references/providers.md
  • Proton桥接未运行:指示用户先启动Proton Mail桥接程序。
  • 速率限制:在搜索批次之间暂停1-2秒,以避免被限制。
  • 大容量邮箱:告知用户进度。大容量收件箱(10万+封邮件)可能需要几分钟时间。

隐私与安全规则

  • - 绝不在输出或日志中显示密码、应用密钥或凭证。
  • 尽可能使用OpenClaw的密钥存储来管理凭证。
  • 会话结束后删除临时文件(/tmp/registrationscan*.json)。
  • 不向外部服务发送任何邮件内容。

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 email-registration-scanner-1776019621 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 email-registration-scanner-1776019621 技能

通过命令行安装

skillhub install email-registration-scanner-1776019621

下载

⬇ 下载 registration-scanner v1.0.0(免费)

文件大小: 11.47 KB | 发布时间: 2026-4-13 10:09

v1.0.0 最新 2026-4-13 10:09
Initial release

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

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

p2p_official_large
返回顶部