
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
resolve-email
Advanced tools
Resolve the domain of an email address to see if it even has a chance of delivering
Resolve the domain of a syntactically valid email address to see if there is even a chance of deliverability. Also checks against a large list of disposable email and other junk/unwated address domains and rejects those. It also checks the email address against the (updated) zod reasonable email regex and filters out unreasonable email addresses.
npm install resolve-email
import { resolveEmail } from 'resolve-email'
// Validate the email address before passing it in here:
const results = await resolveEmail('person@gmailc.om')
console.log(results)
// results.emailResolves true/false
// results.mxRecords [array of mx records and priorities]
// results.error any errors that may have occurred.
This module was adapted from nodemailer/nodemailer-direct-transport
The disposable email domain list is generated from the following data sources:
MIT
FAQs
Resolve the domain of an email address to see if it even has a chance of delivering
The npm package resolve-email receives a total of 318 weekly downloads. As such, resolve-email popularity was classified as not popular.
We found that resolve-email demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.