返回顶部
c

cloudflare-mail-reader

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

cloudflare-mail-reader

# Cloudflare Mail Reader Use this skill to read mailbox messages through `https://mail-api.suilong.online/admin/mails`. ## Follow This Workflow 1. Collect or infer `address`, `limit`, and `offset`. 2. Default `limit` to `20` and `offset` to `0` when the user does not specify them. 3. Never store real credentials in the skill. Pass runtime credentials with CLI flags or environment variables. 4. Run [scripts/read_mails.py](scripts/read_mails.py) to fetch and normalize the response. 5. The normalized result includes `verification_code` when a code can be extracted from subject/text/html content. 6. Return the script's JSON output directly unless the user asks for a reformatted summary. 7. Use `--output-format csv` and optionally `--output-file <path>` when the user asks for exportable results. 8. Preserve the normalized statuses: `ok`, `auth_error`, `error`. 9. Use `--include-raw` only when the user explicitly wants the full original payload for debugging. ## Run The Script Read one mailbox: ```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:CLOUDFLARE_MAIL_ADMIN_AUTH ``` Read recent mails without an address filter: ```powershell C:\Users\sl\AppData\Local\Python\bin\python.exe scripts/read_mails.py ` --limit 20 ` --offset 0 ` --admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTH ``` Export messages as 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:CLOUDFLARE_MAIL_ADMIN_AUTH ``` ## Runtime Credentials Prefer environment variables for secrets: - `CLOUDFLARE_MAIL_ADMIN_AUTH` - `CLOUDFLARE_MAIL_BEARER_TOKEN` - `CLOUDFLARE_MAIL_CUSTOM_AUTH` - `CLOUDFLARE_MAIL_FINGERPRINT` - `CLOUDFLARE_MAIL_LANG` - `CLOUDFLARE_MAIL_USER_TOKEN` - `CLOUDFLARE_MAIL_MAILS_API_URL` ## Read More Only When Needed - Read [references/api.md](references/api.md) for the endpoint contract and normalization rules. - Read [references/examples.md](references/examples.md) for example prompts and outputs.

标签

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

下载 Zip 包

⬇ 下载 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
返回顶部