This article explains how to create a mabl Mailbox address for temporary email addresses and permanent email addresses:
- Temporary email addresses are generated as variables in the mabl Trainer and do not persist after the test run completes.
- Permanent email addresses are created in the mabl app and persist indefinitely.
Temporary email addresses
Temporary email addresses are ideal for email testing scenarios that can be completed within a single test, which may include:
- User account registration
- Web form submission notifications, such as the emails that are sent after interacting with a "Contact us" form on a website
To generate a temporary email address, create or edit a browser test in the mabl Trainer. Then take the following steps:
- Click on the plus icon at the bottom of the mabl Trainer window to add a step.
- Click on the Mailbox step.
- Select "Create temporary email address."
Creating a temporary email address
- Give your mabl Mailbox variable a name.
- Click OK. You've just created a new mabl Mailbox!
If you want to customize your temporary email address to distinguish it from other emails, you can use custom email address prefixes.
Permanent email addresses
Unlike temporary email addresses, permanent email addresses persist indefinitely. They are ideal for the following scenarios:
- Verifying scheduled emails
- Testing password recovery
- Testing logins that require MFA via email
To create a permanent email address, take the following steps:
- Go to the mailbox page in the mabl app: Configuration > Mailbox
- Click on the + Create email button
- Give your email address a name and prefix. You may also add a description.
- Save your email address.
- In customer workspaces, the maximum number of permanent email addresses is 100.
- In trial workspaces, the maximum number of permanent email addresses is 20.
Enabling and disabling permanent inboxes
Permanent inboxes are automatically disabled if they receive more than 50 emails per hour or more than 250 emails per day. If a test executes a step to assert on or open an email sent to a disabled inbox, the step fails and provides an error message indicating that the permanent inbox was disabled.
You can use the toggle on the mailbox page to re-enable a permanent inbox:
- Go to Configuration > Mailbox in the mabl app
- Click on the toggle to enable or disable a specific inbox.
Next steps
After creating a temporary or permanent email address, you can start using the mabl Mailbox in the Trainer!