CI/CD Email Testing
Run OTP, password reset, magic link, signup verification, invitation, and transactional email tests automatically in every pipeline.
Build #482 email checks
To: pipeline@test.trivumo.com
Pipeline validates every email contract
Pipeline stage
email-workflows / pull_request
CI/CD checks
ā test inbox created ā transactional email received ā links and content verified ā pipeline gate passed
Why Trivumo + CI/CD
Your pipeline should catch broken email workflows before production.
Trivumo gives CI jobs isolated test inboxes, fast email polling, structured message extraction, and predictable assertions without shared inboxes, IMAP scripts, or environment-specific mail traps.
Wait for incoming emails
Block the test until the exact message arrives, then assert on structured inbox data.
Verify email delivery
Prove the app sent the expected message to the right test inbox before continuing.
Extract OTP codes
Read verification codes from real email content without brittle regex scripts in every test.
Extract links
Pull password reset, magic link, invite, and verification URLs directly from the message.
Validate email content
Check subjects, recipients, rendered text, HTML, and template variables before users see them.
Test password resets
Complete forgot-password journeys from UI trigger to inbox, token link, and final login.
Test magic links
Open passwordless auth links inside the same automated browser session and assert sign-in.
Run in CI/CD
Use dedicated test inboxes in local development, preview deployments, staging, and pipelines.
Code Example
Email Testing in GitHub Actions
Wait for the inbox event, read structured email data, and continue your browser test without brittle polling or manual inbox access.
Works for OTP verification, password resets, magic links, email verification, invitations, and notification workflows.
1name: Email workflow tests23on:4 pull_request:5 push:6 branches: [main]78jobs:9 test:10 runs-on: ubuntu-latest11 env:12 TRIVUMO_API_KEY: ${{ secrets.TRIVUMO_API_KEY }}13 TRIVUMO_DOMAIN: sandbox.trivumo.com1415 steps:16 - uses: actions/checkout@v417 - uses: actions/setup-node@v418 with:19 node-version: 2220 cache: npm2122 - run: npm ci23 - run: npm run test:e2ePopular Testing Workflows
Automate the email flows your users depend on
Use Trivumo with CI/CD to make authentication, onboarding, and transactional emails part of your automated release checks.
OTP Verification
Capture one-time passwords from live emails and complete verification screens automatically.
Password Reset
Assert reset emails arrive, links are valid, and users can finish account recovery.
Email Verification
Validate signup and account activation emails across staging and preview environments.
Magic Link Login
Extract passwordless login links and verify authenticated sessions from browser tests.
Team Invitations
Check invite delivery, link generation, and first-login onboarding for new teammates.
Transactional Emails
Test receipts, notifications, lifecycle emails, and critical customer messaging.
Why Teams Choose Trivumo
Stop treating email as the flaky part of your test suite
Replace shared inboxes, local mail servers, and custom scripts with deterministic email testing APIs built for developer workflows.
Without Trivumo
With Trivumo
Works Everywhere
Works across your CI/CD stack
Use the same Trivumo email tests in pull requests, preview deployments, staging jobs, release pipelines, and scheduled regression suites.
GitHub Actions
Run inbox assertions in pull request checks and release workflows.
GitLab CI
Add email verification to merge request and deployment pipelines.
Jenkins
Keep legacy and enterprise browser test suites email-aware.
Azure DevOps
Validate staging and preview emails before shipping to production.
CircleCI
Poll for real emails from parallel jobs without shared inbox collisions.
TeamCity
Make transactional email checks part of continuous delivery.
FAQ
CI/CD email testing questions
Quick answers for teams adding automated inbox validation to browser tests, staging environments, and CI pipelines.
How do I test emails in CI/CD?+
Create a test inbox during your pipeline run, trigger the email from your browser or API test, wait for the message with Trivumo, extract OTPs or links, and continue with normal assertions.
Does Trivumo work with GitHub Actions?+
Yes. Store your Trivumo API key as a GitHub Actions secret, run your existing test command, and let the test suite call Trivumo when it needs to create inboxes or wait for emails.
Can CI tests run in parallel?+
Yes. Generate unique inboxes per test or worker so parallel jobs do not collide or read each other's messages.
Can I validate staging and preview links?+
Yes. Trivumo lets your tests inspect links in real emails, so CI can assert that staging and preview emails point to the expected environment.
Which CI systems are supported?+
Trivumo works anywhere your tests can make API calls, including GitHub Actions, GitLab CI, Jenkins, CircleCI, Azure DevOps, Buildkite, TeamCity, and custom runners.
Do I need MailHog or a local SMTP server?+
No. Trivumo provides hosted test inboxes and email APIs, so CI jobs can validate realistic email workflows without maintaining local mail infrastructure.
Related Resources
Go deeper on email workflow testing
Explore practical testing patterns for the email flows that most often break release confidence.
Password Reset Testing
Learn how to automate password reset email workflows end to end.
OTP Verification Testing
Capture and assert one-time codes inside browser automation.
Email Verification Testing
Test signup confirmation and account activation emails reliably.
Magic Link Testing
Validate passwordless authentication links in real inboxes.
Transactional Email Testing
Verify receipts, notifications, invites, and lifecycle messages.
CI/CD Email Testing
Run email workflow tests in local, staging, preview, and CI pipelines.
Stop Manually Testing Emails
Add reliable email testing to your automated test suite in minutes.

