Skip to main content
Runtime-facing APIs include:
  • createEmailsClient(...)
  • configureEmailsClient(...)
  • getCurrentEmailsClient(...)
  • resetEmailsClient(...)
  • buildGetInboxFn(...)
Example:

EmailsClientOptions

createEmailsClient(...) accepts one of two transport configurations. Use the QA Wolf API configuration for new code:
The client also supports an internal runner configuration:
Do not pass both configurations at the same time. If you use apiKey and url, do not pass emailerUrl.

Role Of createEmailsClient(...)

This creates a service-backed client that can be used directly by local harnesses, tooling, or other runtime environments. Example:

Compatibility Note

buildGetInboxFn(...) remains useful for compatibility with runtimes that still inject getInbox directly, but new runtime code should prefer createEmailsClient(...). Example:
Last modified on May 1, 2026