Stop Shipping Blind Spots: How to Automate Email-Driven User Journeys with Shiplight AI
January 1, 1970
January 1, 1970
Most teams invest heavily in end-to-end (E2E) testing for the UI, then quietly accept a gap that users experience every day: email.
Password resets, magic-link logins, MFA codes, account invitations, purchase receipts, and “confirm your email” flows are not edge cases. They are often the highest-value, highest-frequency workflows in a product, and they are exactly where regressions slip through when QA stops at the browser.
The challenge is not a lack of intent. It is that email testing is notoriously awkward to automate with traditional tooling. Shiplight AI approaches the problem differently: treat email as a first-class part of end-to-end validation, and make it as simple to automate as the UI itself.
Email workflows tend to fail conventional automation for predictable reasons:
If you want E2E to be a true release signal, these flows need automation that is resilient, readable, and operational in CI—not a pile of brittle glue scripts.
Shiplight AI is an agentic QA platform that lets teams create and run E2E tests using natural language, with support for both local workflows and a full cloud test management experience.
A few details matter for teams evaluating any E2E platform:
That foundation becomes especially powerful when you expand E2E beyond the browser and into email.
Shiplight’s Email Content Extraction feature allows automated tests to read incoming emails and extract what you actually need, such as verification codes and activation links. It is powered by an LLM-based extractor, so you do not have to maintain regex patterns or brittle HTML parsing.
Shiplight supports three extraction modes:
email_otp_code)email_magic_link)email_extracted_content)This is the practical difference between “we should test password resets” and “password reset tests run on every PR.”
Here is a repeatable approach teams can use to automate email-driven journeys without building an internal email testing platform.
In Shiplight, you create a Forward Email Configuration under Settings → Forward Emails, which generates a forwarding address (for example, xxxx@forward.shiplight.ai). You then configure your mail provider or test inbox to forward the relevant messages to that address.
Two best practices from the start:
In your Shiplight test case, add an EXTRACT_EMAIL_CONTENT step and select:
For Custom extraction, Shiplight lets you specify a short instruction like: “Extract the temporary password from the email body.”
Once the email is matched and processed, Shiplight stores the result in a predictable variable based on extraction type. Your UI steps can then reference it directly.
A simple example: magic-link login.
email_magic_link)This is the critical shift: email becomes part of the same end-to-end journey, not a manual checkpoint.
Many “email test flakes” are not flakes at all. They are ambiguous email matching.
Shiplight supports dynamic variable syntax in filters, such as $variableName and $.variableName, so you can target the right message even when subjects or recipients are generated at runtime.
If your tests create users like qa+timestamp@company.com, you can filter precisely on that recipient or a unique subject token, then reuse the extracted code or link downstream.
Email flows are only valuable as a quality signal if they run automatically.
Shiplight provides a GitHub Actions integration via ShiplightAI/github-action@v1, using your Shiplight API token plus suite and environment identifiers. This makes it straightforward to run your E2E suites on pull requests and report results back to the PR.
Once email journeys are part of that suite, you can finally gate changes on the flows users rely on most: sign-up verification, password reset, and MFA.
Even great tests fail. What matters is how quickly the team understands why.
Shiplight’s AI Test Summary automatically analyzes failed results and provides human-readable context, including root cause identification, expected vs actual behavior, visual context from screenshots, and suggested tags for categorization.
For email-driven workflows, this is especially useful because failures can originate from multiple points: the UI, the backend trigger, or the email content itself.
Email is part of your product. Treat it like it.
With Shiplight AI, teams can automate email-based verification codes, magic links, and custom email content checks as part of true end-to-end coverage, then run that coverage continuously in CI with actionable failure analysis.
If you are ready to close the most common E2E blind spot, Shiplight is built to help you do it without adding maintenance overhead.