Minimal agent tool (any framework)
The whole integration is one polling loop. This works in any agent runtime that can call functions:email-tool.mjs
Claude tool-use definition
Expose the inbox as tools in an Anthropic APItools array:
createInbox() / getVerificationCode() from the snippets above — pre-create the inbox at session start and hold the JWT server-side so the model never sees credentials.
LangChain tool wrapper
email_tool.py
Design notes for agent builders
Related reading
- API Client Snippets — the Python/Node/shell helpers used above
- API Overview — auth, Turnstile, rate limits
- llms.txt — machine-readable service summary and agentic browsing guidance