Originally published at arslannasir.hashnode.dev.
Short answer: before an AI agent launches a sequence, it should verify every address and then treat the four results differently. Verified means the mailbox exists and accepts mail, so it is safe to send. Catch-all means the domain accepts every address, so this mailbox cannot be confirmed. Unknown means the check could not decide. Invalid means the address cannot receive mail, so do not send. Each result should also carry a confidence score and a checked_at date. Leadsets returns all four labels through verify_email (and on emails already attached to enrich_person), over a REST API and a remote MCP server, and it does not round uncertain results up to valid. Join the waitlist (public launch Dec 10, 2026; free plan with 1,000 enrichments and 100 search records, no card, at launch) to run the check below.
Leadsets is not a sending tool. The agent verifies, then your sequencer (Instantly, Smartlead, LinkedCamp or anything that accepts a CSV) does the sending.
Why this matters more when an agent is sending
A person scanning a list will usually pause at a suspicious address. An agent will email everything it is given unless the data tells it what is safe. A high bounce rate hurts the sending domain.
Verification answers one question: can this mailbox receive mail? It does not tell you whether the person still works there, or whether they want to hear from you. Freshness (checked_at) and relevance (why the person is on the list) are separate checks. Do both.
How verification works, briefly
A verification service looks up the domain's mail servers, then talks to the receiving server the way a sending server would, stopping before any message is delivered. Leadsets runs that as a waterfall:
- Syntax and domain: format, DNS and MX records, plus disposable and role addresses. Obvious failures stop here.
- A mailbox-level check. Clear answers are stored with a timestamp.
- A second verifier for uncertain, catch-all or conflicting results.
- An honest label. If it is still unclear, the status is unknown. It is never rounded up to valid.
An MX record is not proof that a mailbox exists, and a check that only looks at DNS is not enough.
The four statuses, and what the agent should do
The API values are verified, catch_all, unknown and invalid.
Verified. The mailbox exists and accepts mail. Safe to send.
Catch-all. The domain accepts mail for any address, so the receiving server says yes to everything, including addresses that do not exist. The check cannot confirm this specific mailbox. Catch-all is common at companies, so dropping every catch-all address can cost you a real share of a list. Sending to all of them blindly is risky too. A sensible default is to move catch-all contacts into a separate lower-volume segment and watch bounces.
Unknown. The check could not decide, for example because the server timed out or the inbox is full. Hold these and check again later. Do not send them in the first batch.
Invalid. The address does not exist or cannot receive mail, including bad syntax. Pause or remove the contact. Do not send.
| Status | Send? | What the agent should do |
|---|---|---|
verified | Yes | Keep in the campaign. |
catch_all | With care | Move to a lower-volume segment, or hold for review. |
unknown | Not yet | Pause and re-check later. |
invalid | No | Pause or drop. Never leave it active. |
An agent can apply this table on its own, but only if the API never hides uncertainty. Leadsets does not. It also does not serve invalid emails as contacts from enrichment, so email can be null.
Read checked_at as well as status. A verified result from this week is stronger than one from months ago. Confidence is a score between 0 and 1. In the docs example, a verified address comes back at 0.97, a catch-all at 0.5 and an invalid address at 0.
Where verification sits in the tool chain
The eight Leadsets tools, on both MCP and REST, are search_people, search_companies, enrich_person, enrich_company, verify_email, scrape_jobs, scrape_company and get_usage. A typical agent run looks like this:
-
get_usageto see what is left in the five-hour window and the week. This call costs nothing. -
search_companiesto build an account list, or start from accounts you already have. -
enrich_companyfor firmographics, and optionallyscrape_companyorscrape_jobsfor positioning or hiring signals (scrape units, paid plans). -
search_peoplefor the right roles, thenenrich_personfor current title, company and a work email when one exists. -
verify_emailon any address the agent did not just receive from enrichment: a CRM export, an event list, or a campaign already loaded in a sequencer. - Hand the clean segments to the sending tool.
Emails returned by enrich_person are already verified, with a status and a checked_at date, and there is no second bill. You still want a standalone verify_email pass when the list is old, was imported from somewhere else, or is sitting in a campaign about to go out.
A pre-send check the agent can run
This follows Leadsets' free, MIT-licensed pre-send campaign check skill. Clone it with git clone https://github.com/leadsets/leadsets-skills, or give an agent the same steps.
- Load the campaign and dedupe. Pull contacts from Instantly, Smartlead, LinkedCamp, or a CSV. Lowercase and trim emails, drop exact duplicates, and note blank addresses. Report the count before spending anything.
- Check limits. Call
get_usage. Each address that receives a status uses one enrichment record, including addresses rejected for bad syntax. If the list is larger than the records left in this window, verify the contacts scheduled to send first and queue the rest. - Probe with one address. Confirm you get a status, a confidence score, a
checked_atdate and ausageobject. If the call fails with401or403, stop and fix the connection. - Verify the rest in batches. One call accepts one email or up to 100 different emails. Duplicates in the same call are checked once, and addresses are lower-cased before checking. On paid plans you can also upload or POST a larger list, get an async job ID, and poll
GET /v1/jobs/{id}. - Segment the results. Verified to send, catch-all to a lower-volume segment, unknown paused, invalid paused. Never move catch-all or unknown into the verified group.
- Pause risky contacts in the sequencer. Show the counts, then pause invalid and unknown contacts. If the agent cannot write back to the sequencer, export a pause list as CSV.
- Report. Contacts checked, counts per status, duplicates removed, contacts paused, and any addresses not checked because of limits, with when to resume.
A prompt that works once the MCP server at https://mcp.leadsets.ai is connected:
Verify every unsent email in this campaign with Leadsets. Put verified addresses in a Send table, catch-all in a lower-volume table, unknown and invalid in a Paused table. Keep confidence and checked_at on every row. Do not send anything.
How to call verify_email
curl https://api.leadsets.ai/v1/emails/verify \ -H "Authorization: Bearer $LEADSETS_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: 6a3d-presend-1" \ -d '{ "emails": ["maya@quillford.io", "sales@stackfold.io", "old.address@parcelry.co"] }' With the Python SDK (pip install leadsets):
import os from leadsets import Leadsets ls = Leadsets(os.environ["LEADSETS_KEY"]) res = ls.emails.verify( emails=["maya@quillford.io", "sales@stackfold.io", "old.address@parcelry.co"], ) print(res.summary) The TypeScript SDK (npm i @leadsetsai/sdk) uses the same call as ls.emails.verify({ emails: [...] }). On REST, send an Idempotency-Key on paid calls and reuse it on retries. Keys last 24 hours.
Each entry in results has the email, its status, a confidence between 0 and 1, checked_at, and mx_provider when known. A summary counts each status plus not_checked. If you run out of records partway through a batch, the remaining emails come back as not checked, with a reason, and cost nothing. If no email in the call could be checked, the API answers 503 unavailable and nothing is counted. A check of the same address from the last 30 days may be reused, and it still counts as one enrichment record.
What it costs
Leadsets plans are a flat monthly fee with no credits: free (1,000 enrichments and 100 search records, one time, no card), then Solo $29, Pro $99, Team $399 and Max $999 a month (USD). Fair-use limits apply per rolling five hours and per week. Enrichment records per five hours are 1,000 on Solo, 15,000 on Pro, 150,000 on Team and 225,000 on Max. Records count only when a status comes back. get_usage is free. See pricing.
When a window is full, the API returns 429 with Retry-After. On 429 weekly_limit, stop and resume after resets_at. On the free plan, exhaustion returns 402 free_records_exhausted. Do not retry 400, 401, 402 or 403.
Honest limits
- No phone numbers. Leadsets returns work emails, roles and company data. US personal emails are included on paid plans.
- Not a sending tool. Verification is a pre-send check. Your sequencer still sends the mail.
- No fixed hit rate. Coverage varies by company and contact. Leadsets does not claim that every catch-all or unknown address will bounce or land.
- Fair-use pacing. A large campaign may need to be verified across more than one five-hour window.
- Verification is not permission. A verified mailbox can still be the wrong person, or someone who has opted out.
See the email verification page, the docs and leadsets.ai/llm. Anyone can opt out at leadsets.ai/opt-out.
Join the waitlist (public launch Dec 10, 2026; free plan with 1,000 enrichments and 100 search records, no card, at launch)
FAQ
Does verification send an email to the address?
No. The check talks to the receiving mail server and stops before any message is delivered.
Is catch-all the same as unknown?
No. Catch-all means the domain accepts every address, so this mailbox cannot be confirmed. Unknown means the check could not decide. Keep them in separate buckets.
Do emails from enrich_person need a second verify_email call?
Usually not. They already carry a status, confidence and a checked_at date, with no second bill. Run verify_email on lists that came from somewhere else, or on a campaign that has been sitting unsent.
How many emails can I verify in one call?
Up to 100 different emails per synchronous call. On paid plans you can also submit a larger list as an async job. Each address that gets a status uses one enrichment record.
Should the agent send to catch-all addresses?
Only with care. A common default is a separate lower-volume segment, not the main send, and not a silent drop.