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 local harnesses, tooling, or other
runtime environments can use directly.
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 September 10, 2026