The signup form is where list quality is decided. A bad address that gets
past registration will cost you a bounced welcome email, a skewed metric, and — in
fraud cases — a free trial that should never have existed.
The two-layer approach
Layer 1 — syntax and sanity, instantly. Basic regex on the client prevents the
worst fat-finger errors. It's a UX affordance, not verification.
Layer 2 — real verification at submit. Call the verification API when the user
submits:
```bash
curl -X POST https://YOUR-DOMAIN/api/v1/verify \
-H "Authorization: Bearer KEY" -F "email=…"
```
Results in a few hundred milliseconds for cached domains. What to do with each class:
- INVALID — ask the user to correct it ("did you mean gmail.com?"). This is the
highest-value moment for typo suggestions.
- RISKY (disposable) — your policy call: block for free trials, accept for
newsletters, or require a stronger verification step.
- VALID / UNKNOWN — accept, and send the confirmation email as usual.
The confirmation email is still the arbiter
Verification removes the impossible; the double-opt-in email confirms the willing.
They solve different problems and belong together.
UX that doesn't hurt conversion
- Verify on submit, not on every keystroke.
- Keep the error message actionable: "This address can't receive mail — check for typos."
- Never punish UNKNOWN: accept and confirm by mail.
Fraud-sensitive flows
For free trials and promo codes, combine verification with rate limiting and disposable
detection. Verification is not a fraud system — but disposable-heavy signups are one of
the cheapest fraud signals you can collect at zero friction.
The API guide has the full integration
pattern, including bulk import validation for legacy accounts.