@lacspace/email-verify
Best-effort email deliverability checks for Node — syntax + disposable, MX record lookup and an optional SMTP RCPT probe (no mail sent). Zero npm dependencies.
npm i @lacspace/email-verifyUsage
import { verifyEmail } from "@lacspace/email-verify";
await verifyEmail("someone@gmail.com");
// {
// email: "someone@gmail.com",
// valid: true,
// syntax: true,
// disposable: false,
// role: false,
// mxFound: true,
// mxRecords: [{ exchange: "gmail-smtp-in.l.google.com", priority: 5 }, …],
// smtp: "unknown" // Gmail greylists probes — expected
// }
// MX-only (fast, reliable, no port-25 needed) — great default in cloud/serverless
await verifyEmail(email, { checkSmtp: false });Exports 3
resolveMxsmtpCheckverifyEmailKeywords
email-verificationemail-verifymx-lookupsmtp-checkdeliverabilitymailbox-exists
More in Mail Kit
@lacspace/email-templates
Compose bulletproof, responsive, dark-mode-aware HTML emails from simple blocks — buttons, OTP codes, invoices — with ready-made OTP/welcome/alert/invoice templates. Zero-dependency, isomorphic.
@lacspace/email-validateSmart email validation — syntax, disposable/temp-mail detection, role & free-provider flags, Gmail normalization and 'did you mean?' typo suggestions. Zero-dependency, isomorphic.
@lacspace/mailerA tiny zero-dependency SMTP client for Node backends — send email over raw net/tls with STARTTLS, AUTH, attachments and provider presets (Hostinger, Gmail, Outlook, Zoho…). One-line setup.