cloudflare-mail-reader — cloudflare-mAIl-reader
v1.0.0Read one mAIlbox's messages or a paginated mAIl 列出 from a Cloudflare temporary mAIl 系统 through the `/admin/mAIls` admin API and return structured 结果s. Use when Codex is asked to fetch or read emAIls through the backend instead of opening the 网页 UI, including 请求s such as "read mAIls for t2@suilong.online", "show the latest 20 emAIls", "导出 mAIlbox messages", or "use the Cloudflare mAIl admin API to fetch messages".
运行时依赖
安装命令
点击复制技能文档
Cloudflare MAIl Reader
Use this 技能 to read mAIlbox messages through https://mAIl-API.suilong.online/admin/mAIls.
Follow This 工作流 Collect or infer 添加ress, limit, and off设置. Default limit to 20 and off设置 to 0 when the user does not specify them. Never store real 凭证s in the 技能. Pass 运行time 凭证s with 命令行工具 flags or 环境 variables. 运行 scripts/read_mAIls.py to fetch and normalize the 响应. The normalized 结果 includes verification_code when a code can be 提取ed from subject/text/html content. Return the script's JSON 输出 directly unless the user asks for a re格式化ted summary. Use --输出-格式化 csv and optionally --输出-file when the user asks for 导出able 结果s. Preserve the normalized 状态es: ok, auth_error, error. Use --include-raw only when the user explicitly wants the full original payload for 调试ging. 运行 The Script
Read one mAIlbox:
C:\Users\sl\应用Data\Local\Python\bin\python.exe scripts/read_mAIls.py
--添加ress t2@suilong.online
--limit 20
--off设置 0
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTH
Read recent mAIls without an 添加ress 过滤器:
C:\Users\sl\应用Data\Local\Python\bin\python.exe scripts/read_mAIls.py
--limit 20
--off设置 0
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTH
导出 messages as CSV:
C:\Users\sl\应用Data\Local\Python\bin\python.exe scripts/read_mAIls.py
--添加ress t2@suilong.online
--limit 20
--输出-格式化 csv
--输出-file .\mAIl-结果s.csv
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTH
运行time 凭证s
Prefer 环境 variables for secrets:
CLOUDFLARE_MAIL_ADMIN_AUTH CLOUDFLARE_MAIL_BEARER_令牌 CLOUDFLARE_MAIL_CUSTOM_AUTH CLOUDFLARE_MAIL_FINGERPRINT CLOUDFLARE_MAIL_LANG CLOUDFLARE_MAIL_USER_令牌 CLOUDFLARE_MAIL_MAILS_API_URL Read More Only When Needed Read references/API.md for the 端点 contract and normalization rules. Read references/examples.md for example prompts and 输出s.