Email Verifier (SMTP, MX, Catch-All)

io.github.sumitrmardyPublished by GitHub account sumitrmardyv1.0.0Updated Oct 27, 2026

Bulk email verification: live SMTP mailbox check, MX, catch-all, disposable and role detection.

VerifiedStreamable HTTPWeb executableCommunication & CollaborationBusiness & Commerce

Overview

AI-generated overview

Apify-hosted MCP server that lets an assistant bulk-verify email addresses via syntax, DNS/MX, disposable/role checks and a live SMTP handshake.

What you can do
  • Verify email addresses in bulk, returning a status of deliverable, undeliverable, risky or unknown plus a score and eleven fixed check flags.
  • Detect disposable, role-based and free-provider addresses, catch-all domains and greylisting, with a sub_status explaining each verdict.
  • Read structured per-address results that are designed for code and agents to branch on, including retry guidance for unknown results.
  • Run large lists in batches through the Apify Actor, with synchronous runs limited to 300 seconds and an async pattern beyond that.
When to use it
Useful when cleaning lead or signup lists before outreach, blocking disposable addresses at signup, or giving an agent a tool to judge whether an address is safe to mail. It suits pipelines that need a stable, non-null verdict per address rather than a dashboard.
Requirements
A remote MCP endpoint at mcp.apify.com with OAuth sign-in, or an Authorization header carrying an Apify API token for clients without OAuth. An Apify account is required to call the API; a free tier exists. Network access to the Apify platform.
Before you install
Usage is billed per address that receives a verdict, including undeliverable and unknown results, and duplicate addresses are charged, so deduplicate first. The Authorization header carries an Apify API token and must be kept secret. Addresses are sent to Apify's hosted service for checking. No email is actually sent during verification.

Installation

In SourceWeft

  1. Open Email Verifier (SMTP, MX, Catch-All) in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.sumitrmardy%2Femail-verifier/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "mcpServers": {
    "email-verifier-smtp-mx-catch-all": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=sumitr_mardy/email-verifier"
    }
  }
}

README

English | 简体中文

Bulk Email Verification API — for n8n, AI Agents & MCP

Verify email addresses in bulk: RFC 5322 syntax → DNS/MX → disposable, role and free-provider lists → a live SMTP handshake with a mandatory catch-all probe. No email is ever sent — the check opens an SMTP session, reads the reply codes and hangs up.

[n8n templates] [MCP ready] [OpenAPI] [Pricing] [License]

➜ Try it on Apify

json
{  "email": "[email protected]",  "status": "deliverable",  "sub_status": "valid_mailbox",  "score": 100,  "checks": {    "syntax": true, "domain_exists": true, "mx_found": true,    "smtp_connectable": true, "mailbox_exists": true, "catch_all": false,    "disposable": false, "role_based": false, "free_provider": false,    "a_record_fallback": false, "has_tag": false  },  "mx_record": "aspmx.l.google.com"}

Why pipelines like it

Most verifiers are written for a human reading a dashboard. This one assumes the caller is code.

That changes what the output has to guarantee:

1. status is always one of four values. deliverable, undeliverable, risky, unknown. Never null, never empty, never a fifth value. Enumerate them once and stay correct.

2. All eleven checks keys are present on every record. A check that never ran is false, and the reason lives in sub_status. Nothing disappears.

3. Catch-all domains and Gmail-type providers are reported honestly. They come back risky with a reason, not a fabricated "valid".

Those three together mean you write this:

js
const mailable = results.filter(r => r.status === 'deliverable');const neverSend = results.filter(r => r.status === 'undeliverable' || r.checks.disposable);const retryLater = results.filter(r => r.status === 'unknown');

and not this:

js
const mailable = results.filter(r => r?.status === 'valid' && (r.checks?.catch_all ?? false) === false);

The second line is what every nullable-by-default API forces on you. It matters more for an agent than for a person: an agent cannot write ?? false — it acts on what it reads. A field that sometimes vanishes is not an inconvenience, it is a wrong answer delivered with confidence.


What to do with each result

statussub_statusWhat to do
deliverablevalid_mailboxSend
riskyrole_basedSend only if a shared inbox is acceptable
riskycatch_allMailbox unconfirmable — send at low volume, or enrich another way
riskyfree_provider_unverifiableTreat as a consumer address; mailbox unknowable over SMTP
riskyfull_mailboxHold, retry in a few days
riskydisposableDo not send; block at signup
unknowngreylistedRetry in 30–60 min — not a bad address
unknownsmtp_timeoutRetry later; if it persists, treat as unverified
unknowninternal_errorRetry once
undeliverableanyRemove from the list

Full table with scores and reasoning: docs/statuses.md

The distinction that matters: undeliverable means we found out it is dead; unknown means we could not find out. Tools that merge the two report better-looking numbers and quietly delete real customers from your list.


Use it in n8n

Every template calls the Actor with the core HTTP Request node — no community node to install, works on n8n Cloud and self-hosted. Authentication is an n8n Header Auth credential named Apify API; no token is stored in any file here.

TemplateWhat it doesImport
Verify a Google Sheets lead listReads rows with no verdict, verifies in batches, writes status/score back. Safe to re-run and to schedule.t1-google-sheets.json
Block disposable emails at signupWebhook in, {allow|review|block} out, with the policy in one editable Code node.t2-signup-check.json
Clean a CSV before cold emailUpload an Apollo/Instantly/HubSpot export, get back send_safe / review / drop as three CSVs. Greylisted rows are retried once.t3-clean-csv.json
AI agent toolAn AI Agent with the verifier as its only tool, and a system prompt that teaches it the action table above.t4-ai-agent-tool.json

Chinese versions of all four, with localized sticky notes: workflows/zh-CN/

To import: download the JSON, then in n8n use Workflows → Import from File. Setup steps are on a sticky note inside each workflow.


Use it from an AI agent

MCP — the Apify MCP server, scoped to this one Actor. Config for Claude Desktop and Cursor: agents/mcp/

OpenAPI — one file that Dify, Coze, GPT Actions and LangChain's OpenAPI toolkit can all import: openapi/email-verifier.openapi.yaml

Tool definitions — ready-made JSON for OpenAI function calling and the Anthropic tool API: agents/tool-definitions/

For the agent itself — llms.txt is the whole contract in one pass: endpoint, input, output, the action table, batching limits.

Chinese-first setup guides: Dify · Coze / 扣子


Use it from code

bash
curl -X POST "https://api.apify.com/v2/acts/sumitr_mardy~email-verifier/run-sync-get-dataset-items" \  -H "Authorization: Bearer $APIFY_TOKEN" \  -H "Content-Type: application/json" \  -d '{"emails":["[email protected]","[email protected]"]}'

Python and Node examples, each under 25 lines and with no SDK required: examples/


Large lists

Addresses go in one batch per call, never one call per address — batching is what makes this cheap and fast.

A synchronous Apify run must finish inside 300 seconds. Past that, use the async pattern: start the run, wait for it, then fetch the dataset. Working example: examples/batch-large-list/

Measured throughput and the batch size to use: docs/pricing-and-batching.md


Pricing

Pay per event: one charge per address that gets a verdict — including undeliverable and unknown, because the work was done either way, and a confirmed bad address is exactly the result you were paying for. No per-run charge.

The rate is tiered by your Apify plan and is adjusted to track the market, so it is not reprinted here where it would go stale: see current pricing.

You need an Apify account to call the API; there is a free tier.


Known limits

Stated plainly, because you would find them anyway.

  • Free providers cannot be mailbox-verified. Gmail, Outlook, Yahoo and iCloud answer 250 for addresses that do not exist, then bounce at delivery. Any vendor claiming a per-mailbox Gmail verdict from SMTP is guessing. You get risky/free_provider_unverifiable and checks.mailbox_exists: false.
  • Catch-all domains cannot be mailbox-verified. By definition. The probe detects them and says so rather than returning a confident guess.
  • Greylisting is not a verdict. 421/450 come back as unknown/greylisted, which is retryable. Template T3 does the retry for you.

FAQ

Does it send an email? No. It opens an SMTP session, sends EHLO, MAIL FROM and RCPT TO, reads the reply codes and disconnects. It never issues DATA, so no message body exists anywhere in the process.

Can it verify Gmail addresses? It verifies that the syntax and domain are valid and that the address is not disposable. It cannot confirm that a specific Gmail mailbox exists — Google answers identically for real and fake addresses. Nothing that uses SMTP can do better; tools that claim otherwise are guessing.

What is a catch-all domain? A domain configured to accept mail for every address, existing or not. Before asking about your address, the verifier sends a RCPT TO for a random local part that cannot exist. If that is accepted, the domain is catch-all and every address on it is reported risky/catch_all.

How many emails per call? As many as finish inside the 300-second sync limit. Measure with your own list; see docs/pricing-and-batching.md. Beyond that, use the async pattern.

How do I use it with an Apollo / Instantly / Lemlist export? Template T3 — upload the CSV, get three cleaned lists back. It picks the email column automatically and deduplicates first, so you are not charged twice for the same address.

What happens to duplicates? They are charged. Deduplicate before you call; every template here already does.


MIT licensed. Issues and pull requests welcome — particularly corrections to the n8n templates from anyone running a version where something behaves differently.

Source: README.md at commit 3ba856d

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

1
  1. v1.0.0LatestOct 21, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts