

TL;DR
- One HTTP Request node POSTs the email to
https://mailexchange.com/api/v1/verifywith your key as a Bearer token. - A Switch node on
stateroutes deliverable, risky, undeliverable and pending results. - Handle 202 pending with a Wait node and a lookup, and 429 with Retry On Fail. Never resend a pending address.
- For many addresses, submit a list and let Mail Exchange call an n8n Webhook node when it's done. Plans from $49 a month for 10,000 checks, unknowns refunded.
You already route leads, signups or CRM records through n8n. Adding verification there means a bad address never reaches your sender or your CRM, with no CSV round trips. There is no Mail Exchange node yet, but the API is plain JSON over HTTPS, so the built-in nodes do everything. This page gives the exact settings, then the parts most workflows get wrong: slow mail servers, retries and bulk lists.
Before you start
- An API key. Sign up, then create one in your account under API keys. They look like
mx_live_...and go in anAuthorization: Bearerheader. - A Header Auth credential in n8n. n8n recommends a predefined credential type where one exists; for other APIs its generic credentials include Header auth (HTTP Request node docs, checked 2026-11-22). Storing the key as a credential keeps it out of the workflow JSON.
- Credits. One per unique address. The free trial includes 25 checks for building and testing the workflow.
The single-address workflow
- Add a trigger that gives you an email address. A Webhook, a Google Sheets row, a form submission or a CRM event. The address should end up in a field such as email.
- Create a Header Auth credential. Name Authorization, value Bearer followed by your Mail Exchange API key. Create one in your account under API keys.
- Add an HTTP Request node. Method POST, URL https://mailexchange.com/api/v1/verify, Authentication Generic Credential Type then Header Auth, Send Body on, Body Content Type JSON, with a field email set to the incoming address. Set Timeout to 45000 milliseconds.
- Add a Switch node on the state field. Route deliverable, risky, undeliverable and pending (or unknown) to separate outputs.
- Connect each output to its action. Deliverable goes to your CRM or sequencer. Risky goes to a review sheet. Undeliverable is dropped or logged. Pending goes to a Wait node and a second lookup.
If you prefer, use the node's Import cURL option and paste the example below; n8n fills in the fields from it, though it imports every value as a string (HTTP Request node docs, checked 2026-11-22):
curl -X POST https://mailexchange.com/api/v1/verify \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]"}'
The response has email, state, reason, score, accept_all, role, free,
disposable and mx. Full shapes are in the API reference.
Branch on the result
| state (reason) | Typical n8n branch |
|---|---|
| deliverable (accepted_email) | Create the CRM contact or add the lead to your sequencer |
| risky (low_deliverability: catch-all) | Separate list or a "review" sheet; send slowly if at all |
| risky (low_quality: role, or disposable) | Review sheet, or drop disposable signups |
| undeliverable (rejected_email, invalid_domain, invalid_email) | Drop, and log where it came from |
| unknown | Retry later; the credit is refunded |
| pending (HTTP 202) | Wait node, then read the result by list_id |
Expect a real share of risky results on business data. In Mail Exchange's checks of 779,784 unique business addresses (17 Oct to 22 Nov 2026, mostly B2B PR, media and marketing lists), 18.1% were catch-all and 7.8% role addresses, while 7.6% were undeliverable. Decide in advance where risky leads go, or they'll pile up in a branch nobody watches. Background: email verification statuses and should you send to catch-all emails?
Slow servers, rate limits and errors
202 pending. Most checks answer in a few seconds. If a mail server is slow, /verify waits about 20 seconds and then returns HTTP 202 with
{"state": "pending", "list_id": ...}. The check is running and already charged. Add a Wait node, then an HTTP Request to
GET /api/v1/lists/{list_id}/results?limit=1, and loop until the state is no longer pending. Never post the address to /verify again: that's a new
check and a new charge. To see the status code in n8n, turn on the node's "Include Response Headers and Status" option (HTTP Request node docs).
429 rate limit. Limits are per key over a rolling 60-second window. A rate-limited call does no work and costs nothing, so retrying is safe. Turn on the node setting Retry On Fail, or use the HTTP Request node's Batching option (Items per Batch and Batch Interval) to pace a big run.
402, 401, 400. 402 means not enough credits: stop and upgrade your plan. 401 is a bad key. 400 is a malformed request. Retrying won't fix any of them. Set the node's On Error to "Continue (using error output)" so these items go to a separate branch, which n8n's node settings describe as passing the error information to the next node (checked 2026-11-22), and use a workflow-level Error Trigger for alerts (error handling docs). Full list: errors, credits and rate limits.
Bulk lists: let Mail Exchange call n8n back
For more than a handful of addresses, one call per address is the slow way. Submit them as a list instead:
- Webhook node. Create one, turn on the Raw Body option, and publish the workflow so its production URL is live; n8n only registers the production webhook when the workflow is published (Webhook node docs, checked 2026-11-22).
- Submit the list. An HTTP Request node POSTs to
https://mailexchange.com/api/v1/listswith{"emails": [...], "callback_url": "your n8n production URL"}. Up to 100,000 addresses per call; the callback must be https. - Check the signature. When the list finishes, Mail Exchange POSTs
{"event": "list.done", "list": {...}}with anX-MX-Signatureheader: the hex HMAC-SHA256 of the raw body using your account's webhook secret. n8n's Crypto node has an Hmac action with SHA256 and HEX encoding (Crypto node docs, checked 2026-11-22); compare its output with the header and stop if they differ. - Fetch the rows. The callback carries the summary counts only. Page through
GET /api/v1/lists/{id}/results?offset=0&limit=1000, or download?format=csv, and continue the workflow.
Failed callbacks are retried after 30 seconds and after 5 minutes. Details and code in webhooks and callbacks and verify a list with the API.
A worked example: new leads into a sequencer
Say n8n picks up about 2,000 new leads a month from a Google Sheet and pushes them to Instantly or Smartlead. The Starter plan ($49 a month for 10,000 checks) covers that five times over, with room to re-check older lists. If your leads looked like our dataset, roughly 150 a month (7.6%) would be undeliverable and stopped before they could bounce. Instantly pauses a campaign above 5% bounces after 200 sends (help center, checked 2026-11-22), so catching them upstream matters. At larger volume the price per check drops to $0.00249 at full use on the 100,000-a-month Agency plan; see pricing.
Good practice
- Verify once, on the final address: after enrichment and de-duplication, not on every loop iteration.
- Remove duplicates before you submit. Duplicates inside one list are free, but the same address in two separate calls is charged twice.
- Store the result (state, reason and the date) next to the record, so later workflows don't re-check it for no reason.
- Re-verify old records before a big campaign; see how often to verify.
FAQ
Is there an n8n node for Mail Exchange?
Not yet. Use the HTTP Request node with a Header Auth credential holding your API key. It takes a few minutes to set up, and a native node is on the roadmap.
How do I verify an email in n8n?
POST the address as JSON to https://mailexchange.com/api/v1/verify from an HTTP Request node with an Authorization Bearer header, then branch on the state field in a Switch or IF node: deliverable, risky, undeliverable or unknown.
What should my n8n workflow do with a 202 pending response?
Save the list_id from the response, wait, then read the result with GET /api/v1/lists/{list_id}/results. Don't post the address to /verify again, because that starts and charges a new check.
How much does email verification in n8n cost?
One credit per unique address. Plans start at $49 a month for 10,000 checks ($0.0049 each at full use), down to $0.00249 each at full use on the 100,000-a-month Agency plan. Unknown results are refunded and duplicates inside a list are free. n8n itself adds no per-call fee for an HTTP request.
Related
- Zapier email verification
- Make email verification
- Developer guides
- API reference
- Webhooks and callbacks
Build the workflow on the free trial's 25 checks, then plans start at $49 a month for 10,000 verifications and daily checks on 10 sending domains. Create an API key.
n8n and its logo are trademarks of their owner and are shown only to identify the product. Mail Exchange is not affiliated with, sponsored by or endorsed by n8n. The workflow on this page uses n8n's own import and export tools and the Mail Exchange API; there is no official n8n connector.
