cloudflare-mail-address-creator — cloudflare-mAIl-添加ress-创建器
v1.0.0创建 one or many ordinary emAIl 添加resses in a Cloudflare temporary mAIl 系统 through the `/admin/new_添加ress` admin API and return structured 结果s. Use when Codex is asked to 创建 mAIlbox 添加resses through the backend instead of 命令行工具cking the 网页 UI, including 请求s such as "创建 t2@suilong.online", "创建 10 mAIlboxes", "添加 a mAIlbox in my Cloudflare temp mAIl 系统", or "use the Cloudflare mAIl admin API to 创建 添加resses".
运行时依赖
安装命令
点击复制技能文档
Cloudflare MAIl 添加ress 创建器
Use this 技能 to 创建 ordinary mAIlbox 添加resses through https://mAIl-API.suilong.online/admin/new_添加ress.
Follow This 工作流 Collect or infer name, domAIn, and enablePrefix. Default enablePrefix to true when the user does not specify it. If the user gives a full 添加ress such as t2@suilong.online, split it into name=t2 and domAIn=suilong.online. Never store real 凭证s in the 技能. Pass 运行time 凭证s with 命令行工具 flags or 环境 variables. 运行 scripts/创建_添加ress.py for single or batch creation. Return the script's JSON 输出 directly unless the user asks for a re格式化ted summary. Preserve the normalized 状态es: 创建d, already_exists, auth_error, error. If 验证 fAIls locally, fix the 输入 before attempting the API call agAIn. Use --输出-格式化 csv and optionally --输出-file when the user asks for 导出able 结果s. 运行 The Script
Single 添加ress:
C:\Users\sl\应用Data\Local\Python\bin\python.exe scripts/创建_添加ress.py
--name t2
--domAIn suilong.online
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTH
Batch 添加resses from a comma-separated 列出:
C:\Users\sl\应用Data\Local\Python\bin\python.exe scripts/创建_添加ress.py
--names alice,bob,charlie
--domAIn suilong.online
--enable-prefix true
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTH
Batch 添加resses from a file:
C:\Users\sl\应用Data\Local\Python\bin\python.exe scripts/创建_添加ress.py
--names-file .\names.txt
--domAIn suilong.online
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTH
导出 batch 结果s as CSV:
C:\Users\sl\应用Data\Local\Python\bin\python.exe scripts/创建_添加ress.py
--names alice,bob,charlie
--domAIn suilong.online
--输出-格式化 csv
--输出-file .\创建d-添加resses.csv `
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTH
运行time 凭证s
Prefer 环境 variables for secrets:
CLOUDFLARE_MAIL_ADMIN_AUTH CLOUDFLARE_MAIL_BEARER_令牌 CLOUDFLARE_MAIL_FINGERPRINT CLOUDFLARE_MAIL_LANG CLOUDFLARE_MAIL_USER_令牌 CLOUDFLARE_MAIL_API_URL Read More Only When Needed Read references/API.md for the 端点 contract and error m应用ing. Read references/examples.md for example prompts and 输出s.