← MailGuard

Email verification for React

Stop fake, mistyped, and disposable emails at signup in your React app, with one API call.

Every React signup form collects bad addresses: typos like gmial.com, throwaway inboxes, and dead domains. They inflate your bounce rate and hurt your sender reputation. MailGuard checks each address in one request and returns syntax, MX, disposable/role detection, a "did you mean?" suggestion, and a 0–100 deliverability score.

Add it to React

npm install mailguard
import { MailGuard } from "mailguard";

const mg = new MailGuard(process.env.MAILGUARD_KEY);
const { status, did_you_mean } = await mg.verify(email);
if (status === "undeliverable") rejectSignup();

What you get back

{
  "status": "risky",
  "score": 75,
  "checks": { "syntax": true, "mx_found": true, "disposable": false, "role": false },
  "did_you_mean": "gmail.com"
}

Show the "did you mean?" hint on blur to recover typos, and block undeliverable addresses on submit.

Get started free

Get a free API key

500 verifications/month, no card. Try it first with the free email checker.