Overview

Spur now offers first-class support for email inboxes. This allows you to test email-based workflows like sign-up flows or email verifications seamlessly—right inside your test steps.

SpurMail is used under the hood. Read about SpurMail ➜

Creating an Email Inbox

To get started, you can create an inbox in one of two ways:

  • Type @ in the beginning of a step
  • Use the / menu and select Email

You can either:

  • Automatically generate a Quick Inbox (random email per test run)
  • Define a Custom Inbox (persistent, named inbox)

Quick Inbox

Generates a new random email address for each test run.

Use case: great for testing flows that require a fresh email for every sign-up.

Custom Inbox

Specify a named inbox you can reference across test steps.

Use case: when you want consistency and specificity in the email address.

Available Actions

Once you create an inbox, several actions are available to you:

  • Navigate to inbox – opens the inbox in a new tab
  • Open latest email – jumps directly to the most recent message
  • Close inbox – closes the inbox tab and continues the test
  • Close & clear inbox – clears inbox contents and resets for the next run

Referencing Inbox Emails

You can insert the generated inbox address dynamically in your test by typing @ anywhere in the step or by using variables.

Inbox-related variables are also accessible in the variable menu via { shortcut under the test_account variable.

Example Test

Here is an example for a test that types a randomly generated inbox into a field on the page and verifies the contents of the received email.