- name
- cloudflare-mail-address-creator
- description
- Create one or many ordinary email addresses in a Cloudflare temporary mail system through the
/admin/new_addressadmin API and return structured results. Use when Codex is asked to create mailbox addresses through the backend instead of clicking the web UI, including requests such as "create t2@suilong.online", "create 10 mailboxes", "add a mailbox in my Cloudflare temp mail system", or "use the Cloudflare mail admin API to create addresses".
Cloudflare Mail Address Creator
Use this skill to create ordinary mailbox addresses through https://mail-api.suilong.online/admin/new_address.
Follow This Workflow
- Collect or infer
name,domain, andenablePrefix. - Default
enablePrefixtotruewhen the user does not specify it. - If the user gives a full address such as
t2@suilong.online, split it intoname=t2anddomain=suilong.online. - Never store real credentials in the skill. Pass runtime credentials with CLI flags or environment variables.
- Run scripts/create_address.py for single or batch creation.
- Return the script's JSON output directly unless the user asks for a reformatted summary.
- Preserve the normalized statuses:
created,already_exists,auth_error,error. - If validation fails locally, fix the input before attempting the API call again.
- Use
--output-format csvand optionally--output-file <path>when the user asks for exportable results.
Run The Script
Single address:
C:\Users\sl\AppData\Local\Python\bin\python.exe scripts/create_address.py `
--name t2 `
--domain suilong.online `
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTHBatch addresses from a comma-separated list:
C:\Users\sl\AppData\Local\Python\bin\python.exe scripts/create_address.py `
--names alice,bob,charlie `
--domain suilong.online `
--enable-prefix true `
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTHBatch addresses from a file:
C:\Users\sl\AppData\Local\Python\bin\python.exe scripts/create_address.py `
--names-file .\
ames.txt `
--domain suilong.online `
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTHExport batch results as CSV:
C:\Users\sl\AppData\Local\Python\bin\python.exe scripts/create_address.py `
--names alice,bob,charlie `
--domain suilong.online `
--output-format csv `
--output-file .\created-addresses.csv `
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTHRuntime Credentials
Prefer environment variables for secrets:
CLOUDFLARE_MAIL_ADMIN_AUTHCLOUDFLARE_MAIL_BEARER_TOKENCLOUDFLARE_MAIL_FINGERPRINTCLOUDFLARE_MAIL_LANGCLOUDFLARE_MAIL_USER_TOKENCLOUDFLARE_MAIL_API_URL
Read More Only When Needed
- Read references/api.md for the endpoint contract and error mapping.
- Read references/examples.md for example prompts and outputs.