Skip to main content
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.

Pattern

Standard library only: net/http + encoding/json. No SDK, no API key.
For automation, configure and use your own instance. Hosted browser access tokens are not a supported integration credential.

Helper: tempinbox.go

tempinbox.go

Example: go test

signup_test.go

Tips

  • t.Parallel() is safe — one inbox per test by construction
  • 2–3s poll interval, 60s timeout for external SMTP in CI — list responses cached up to 60s at offset=0
  • metadata is a JSON string — unmarshal it separately, as the helper does