We've added the ability to edit the Recipient address for Mailbox steps that use permanent email addresses. With this update, you can configure "assert email" and "open email" steps to dynamically select the inbox that you want to test by using a data-driven variable, such as an environment variable or a DataTable scenario.
Configuring email match criteria with the recipient address
Previously, if you recorded an "assert email" or "open email" step against a permanent email address, the step would always use the email address chosen when the step was recorded. This made it difficult to reuse email steps against different inboxes.
For example, if you wanted to use a different inbox depending on whether the test ran against the dev or prod environment, you would need to make two email steps and use an "If" step to selectively execute the correct one.
Now, you can update the Recipient address field of an email step to use a variable value. That way, the same email step can be reused to target different permanent email addresses.
To learn more about email steps in mabl, view our help documentation here.