Stop fake, mistyped, and disposable emails at signup in your SvelteKit app, with one API call.
Every SvelteKit 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.
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();
{
"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.
500 verifications/month, no card. Try it first with the free email checker.