OAuth tests that verify an email address often look simple: start a login flow, wait for a message, click the verification link, and assert that the user is authenticated.
The risky part is usually not the OAuth provider. It is the join between three independent things: the browser session, the verification transaction, and the test inbox. If the test matches a code by email address alone, a delayed message from another test can complete the wrong flow. The failure often look harmless at first, but it can hide a real account-linking bug.
The inbox is not the identity
An inbox is a delivery surface. It tells you that a message arrived, not which browser is allowed to consume it. This distinction matters when a CI runner executes several OAuth tests at once, or when a retry leaves an old message behind.
Imagine two tests using the same address by accident. Test A requests a verification email, then times out. Test B starts a new flow and polls the inbox.…