返回顶部
c

cloudflare-mail-reader读取Cloudflare邮件

Read one mailbox's messages or a paginated mail list from a Cloudflare temporary mail system through the `/admin/mails` admin API and return structured results. Use when Codex is asked to fetch or read emails through the backend instead of opening the web UI, including requests such as "read mails for t2@suilong.online", "show the latest 20 emails", "export mailbox messages", or "use the Cloudflare mail admin API to fetch messages".

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

cloudflare-mail-reader

Cloudflare 邮件读取器

使用此技能通过 https://mail-api.suilong.online/admin/mails 读取邮箱消息。

请遵循以下工作流程

  1. 1. 收集或推断 address、limit 和 offset。
  2. 当用户未指定时,默认 limit 为 20,offset 为 0。
  3. 切勿在技能中存储真实凭证。通过 CLI 标志或环境变量传递运行时凭证。
  4. 运行 scripts/readmails.py 获取并规范化响应。
  5. 当可以从主题/文本/HTML 内容中提取验证码时,规范化结果将包含 verificationcode。
  6. 除非用户要求重新格式化的摘要,否则直接返回脚本的 JSON 输出。
  7. 当用户要求可导出的结果时,使用 --output-format csv 并可选择使用 --output-file <路径>。
  8. 保留规范化状态:ok、auth_error、error。
  9. 仅当用户明确需要完整的原始负载进行调试时,才使用 --include-raw。

运行脚本

读取一个邮箱:

powershell
C:\Users\sl\AppData\Local\Python\bin\python.exe scripts/read_mails.py
--address t2@suilong.online
--limit 20
--offset 0
--admin-auth $env:CLOUDFLAREMAILADMIN_AUTH

读取最近的邮件(无地址过滤):

powershell
C:\Users\sl\AppData\Local\Python\bin\python.exe scripts/read_mails.py
--limit 20
--offset 0
--admin-auth $env:CLOUDFLAREMAILADMIN_AUTH

将消息导出为 CSV:

powershell
C:\Users\sl\AppData\Local\Python\bin\python.exe scripts/read_mails.py
--address t2@suilong.online
--limit 20
--output-format csv
--output-file .\mail-results.csv
--admin-auth $env:CLOUDFLAREMAILADMIN_AUTH

运行时凭证

优先使用环境变量存储密钥:

  • - CLOUDFLAREMAILADMINAUTH
  • CLOUDFLAREMAILBEARERTOKEN
  • CLOUDFLAREMAILCUSTOMAUTH
  • CLOUDFLAREMAILFINGERPRINT
  • CLOUDFLAREMAILLANG
  • CLOUDFLAREMAILUSERTOKEN
  • CLOUDFLAREMAILMAILSAPIURL

仅在需要时阅读更多内容

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 cloudflare-mail-reader-1776024625 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 cloudflare-mail-reader-1776024625 技能

通过命令行安装

skillhub install cloudflare-mail-reader-1776024625

下载

⬇ 下载 cloudflare-mail-reader v1.0.0(免费)

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

v1.0.0 最新 2026-4-13 09:47
- Initial release of cloudflare-mail-reader skill.
- Supports reading mailbox messages and paginated mail lists via Cloudflare temporary mail system admin API.
- Defaults to limit 20 and offset 0 if not specified by the user.
- Normalizes output, extracting verification codes where possible.
- Allows CSV export and inclusion of raw payloads when requested.
- Requires runtime credentials passed via environment variables; credentials are never stored in the skill.

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

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

p2p_official_large
返回顶部