When I open the link of the email with the subject "password reset" to "sales"

Open in the browser the link of the newest mail with a subject to an account or an address, since the scenario began: its first link to the site, or the one that holds a part of an address ("passwordresetconfirm").

Examples

When I open the link of the email with the subject "password reset" to "sales"
When I open the "passwordresetconfirm" link of the email with the subject "password reset" to "sales"
And we open the link of the email with the subject "password reset" to "marketer"
When I open the "token=" link of the email with the subject "password reset" to "sales"
When we open the link of the email with the subject "password reset" to "sales@example.com"

Pattern

When(/^(?:I|we) open the (?:"([^"]*)" )?link of the email with the subject "([^"]*)" to "([^"]*)"$/, …)

Part of @webship-js/mautic-steps (github.com/webship/mautic-steps), a step pack for Webship-js 2.0.x.