mail.inbox(...) uses the emails client configured for the current run.
In normal QA Wolf runs, the runner creates the client and registers it before your flow starts. Flow code can call mail.inbox(...) directly.
resetEmailsClient() between tests so one configured client does not leak into the next case.
If no client is configured, mail.inbox(...) throws a setup error.
For runner-facing client creation fields, see the Client Reference.