Email platforms

Moosend email validation integration

Save each Moosend subscriber’s validation result in five custom fields of the mailing list, so one segment on ev_action picks the addresses that passed. A sync script you run on your own computer checks the list as one bulk list and writes the results back.

Read the full setup guideGet an API key

  • Setup guide
  • A sync script

moosend.mjsNode 22.18 or later

Terminal
export EV_API_KEY=…  MOOSEND_API_KEY=…
node moosend.mjs --lists                      # the mailing lists and their ids
node moosend.mjs --list <list id> --dry-run   # counts what it would check
node moosend.mjs --list <list id>             # checks and writes the fields

At a glance.

Status
Setup guide. Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
For
Teams who send campaigns from Moosend and want the subscribers that will bounce, or should not be mailed at all, marked so a segment can leave them out.
You need
Your Moosend API key (More, Settings, API key) and an API key of ours with the Bulk lists permission (off by default). The script needs Node 22.18 or later; Moosend’s free trial is enough to try it.
Costs
1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org, addresses on reserved domains such as example.com and, in a bulk list, repeats of an address (charged once).
Full guide
Read the full setup guide

Typical uses.

  • Send only to addresses that passed

    Each subscriber gets ev_status, ev_reason, ev_action, ev_checked_at and a hash of the checked address. Spam traps and complainers are valid with the action remove, so segment on ev_action.

  • Clean a mailing list

    The sync script checks the subscribed members without a result in one bulk list. With --unsubscribe invalid,disposable it also unsubscribes those from the list.

  • Keep it clean on a schedule

    Each run checks only subscribers without a result for their current address, so it can run daily and check the new ones.

Set it up. 4 steps.

The short version of the full setup guide, which stays the reference when a step does not match what you see.

Read the full setup guide

  1. Copy your Moosend API key

    In Moosend, open More, Settings, API key. Its access follows your user role.

  2. Try it free

    Make a single opt-in test list, add no_mailbox@sandbox.email-validation.org by hand and run the script on that list: it gets ev_status invalid and ev_action remove, at no cost. Then delete the list.

  3. Clean your list

    Download email-validation-moosend.zip from the guide and run moosend.mjs with --dry-run first: it does not ask before it spends.

  4. Segment on the result

    In Moosend, segment the list on the custom field ev_action equal to send, and send your campaigns to that segment.

Good to know.

  • Only the five fields change by default: no subscriber is deleted, removed or unsubscribed, and every other field is sent back as it was.

  • Run the same command again after any stop: it resumes the same bulk list and never pays twice (within the 30 days a list is kept). It prints ids and counts, never an address or a key.

  • Moosend takes its API key in the address of every call; the script never prints or stores it.

  • --region eu checks and keeps the list in the EU, with the same key.

Connect Moosend.

Test it on our sandbox addresses for free, then on your own contacts.

Create your accountRead the full setup guide

Updated · Maintained by: Email Validation LLC