The hosted TempInbox service has no supported public automation API. These implementation examples are for an instance you operate and must be checked against its deployed version, authentication, inbound mail routing, and rate limits. Do not export hosted browser access tokens for CI. For hosted manual use, see QA workflows.
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