/install cloudflare-mail-reader
Cloudflare Mail Reader
Use this skill to read mailbox messages through https://mail-api.suilong.online/admin/mails.
Follow This Workflow
- Collect or infer
address,limit, andoffset. - Default
limitto20andoffsetto0when the user does not specify them. - Never store real credentials in the skill. Pass runtime credentials with CLI flags or environment variables.
- Run scripts/read_mails.py to fetch and normalize the response.
- The normalized result includes
verification_codewhen a code can be extracted from subject/text/html content. - Return the script's JSON output directly unless the user asks for a reformatted summary.
- Use
--output-format csvand optionally--output-file \x3Cpath>when the user asks for exportable results. - Preserve the normalized statuses:
ok,auth_error,error. - Use
--include-rawonly when the user explicitly wants the full original payload for debugging.
Run The Script
Read one mailbox:
C:\Users\sl\AppData\Local\Python\bin\python.exe scripts/read_mails.py `
--address [email protected] `
--limit 20 `
--offset 0 `
--admin-auth $env:CLOUDFLARE_MAIL_ADMIN_AUTH
Read recent mails without an address filter:
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:
C:\Users\sl\AppData\Local\Python\bin\python.exe scripts/read_mails.py `
--address [email protected] `
--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_AUTHCLOUDFLARE_MAIL_BEARER_TOKENCLOUDFLARE_MAIL_CUSTOM_AUTHCLOUDFLARE_MAIL_FINGERPRINTCLOUDFLARE_MAIL_LANGCLOUDFLARE_MAIL_USER_TOKENCLOUDFLARE_MAIL_MAILS_API_URL
Read More Only When Needed
- Read references/api.md for the endpoint contract and normalization rules.
- Read references/examples.md for example prompts and outputs.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install cloudflare-mail-reader - After installation, invoke the skill by name or use
/cloudflare-mail-reader - Provide required inputs per the skill's parameter spec and get structured output
What is 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 resul... It is an AI Agent Skill for Claude Code / OpenClaw, with 95 downloads so far.
How do I install cloudflare-mail-reader?
Run "/install cloudflare-mail-reader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is cloudflare-mail-reader free?
Yes, cloudflare-mail-reader is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does cloudflare-mail-reader support?
cloudflare-mail-reader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created cloudflare-mail-reader?
It is built and maintained by jcwang502 (@jcwang502); the current version is v1.0.0.