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 + json. No gem, no API key.
For automation, configure and use your own instance. Hosted browser access tokens are not a supported integration credential.

Helper: temp_inbox.rb

temp_inbox.rb

Example: RSpec + Capybara

spec/signup_spec.rb

Tips

  • One inbox per example — safe with parallel_tests / turbo_tests
  • 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 — JSON.parse it before reading subject, as the helper does