Using Temporary Email to Test Sign-Up Flows
A practical QA workflow for testing registration, verification and password-reset emails with temporary inboxes — and when to use reserved test domains.

Every product with accounts sends email: verify your address, reset your password, here is your receipt. These messages sit on the critical path — if the verification email fails, nobody can sign up — yet they are among the least-tested parts of most applications. A supply of fresh, real inboxes makes them easy to check. Here is a workflow that works for manual QA and exploratory testing.
Why not just use your own inbox?
You can, for a while. The usual tricks have limits:
- One real address works exactly once per environment, because the account then exists.
- Plus addressing (
you+test1@…) is quick, but some validation rules reject the+character, so you may never notice that your form mishandles it — or you only ever test addresses of one shape. - A shared team mailbox fills with thousands of messages, and nobody can tell which test produced which email.
A temporary inbox gives you a new, valid, deliverable address every time, with nothing to clean up afterwards.
What to test
Use this as a checklist for each transactional email your product sends.
Delivery
- Does the email arrive at all, and how long does it take?
- Does it arrive when the address contains dots, digits, dashes or underscores?
- Is the address treated case-insensitively? Sign up as
Name@…, then log in asname@….
Content
- Are the subject line and sender name correct for the environment?
- Do placeholders render? Look for stray
{{first_name}}text. - Does the plain-text version exist and make sense?
- Does the message still read properly with images switched off? Many mail clients block images by default, and so does our inbox.
Links and codes
- Does the verification link point to the right host — not
localhost, not staging? - Does the link work once, and fail gracefully the second time?
- Does a code expire when it should? Wait past the limit and try it.
- Is the one-time code written in a form that is easy to read and copy?
Edge cases
- Request a password reset twice. Does the first link stop working?
- Register with an address that already exists. Does the response avoid revealing that fact?
- Trigger the rate limit for “resend email”. Is the error message clear?
A manual testing loop
- Open a temporary inbox in one tab. Leave it open.
- Copy the address and register in your application.
- Switch back. The message appears automatically; if it contains a one-time code, it is highlighted with a copy button.
- Complete the flow and note the result.
- Press New to get a fresh address and repeat with the next scenario.
Using a custom address helps when you want test accounts to be recognisable in your admin panel — for example qa-reset-expired for the expired-link scenario.
Use reserved domains where no mail should be sent
Not every test needs a real inbox. For unit tests, fixtures, seed data and documentation, use addresses that can never be delivered. Internet standards reserve several names for this:
| Reserved name | Use |
|---|---|
example.com, example.org, example.net |
Documentation and sample data |
.test |
Testing — guaranteed not to exist in public DNS |
.example |
Documentation |
.invalid |
Deliberately invalid names |
Using these prevents an embarrassing class of bug: a staging job that emails real people because someone seeded the database with plausible-looking addresses.
A good rule: reserved domains when the email must not be sent; a temporary inbox when you need to read what was sent.
What temporary inboxes are not for
- Automated test suites. For CI you want determinism and an API you control. Run a local mail-capture tool in your test environment, or use your email provider’s sandbox mode, instead of depending on a public website.
- Load testing. Never point bulk traffic at a public temp mail service. It is abusive, it will be rate-limited, and it tells you nothing about your own system.
- Anything containing production data. Do not route real customer emails to a temporary inbox, even briefly.
Testing how you treat disposable addresses
If your product blocks disposable email domains, a temporary inbox is also how you verify that the block behaves well:
- Is the error message specific and polite, or a generic “invalid email”?
- Does the block happen at form submission, before an account is half-created?
- Is there an alternative offered, such as signing in with another method?
Whether to block at all is a product decision with real trade-offs; we set them out in why websites block disposable emails.
Summary
Transactional email deserves the same attention as any other step in the sign-up funnel. Keep a temporary inbox open while you test, check delivery, content, links and edge cases for every message, and use reserved domains for data that should never leave your system. Ten minutes of this before a release catches the failures that are otherwise first reported by a customer who could not log in.
- testing
- developers
- how-to


