Email platforms
MailerLite integration
Save each MailerLite subscriber’s validation result in four custom fields, so one segment on ev_action leaves out every address you should not mail. A sync script you run on your own computer checks a group as one bulk list, and a relay on your own Cloudflare account checks each new subscriber as they sign up.
Read the full setup guideGet an API key
- Setup guide
- A sync script and a relay
export EV_API_KEY=… MAILERLITE_API_KEY=…
node mailerlite.mjs --group <group id> --dry-run # counts what it would check
node mailerlite.mjs --group <group id> # checks and writes the fieldsAt 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 and automations from MailerLite and want the subscribers that will bounce, or should not be mailed at all, marked so a segment can leave them out.
- You need
- A MailerLite API token (Integrations, MailerLite API) and an API key of ours. The sync script needs Node 22.18 or later and our key’s Bulk lists permission (off by default), the relay a Cloudflare account of yours. On MailerLite’s Free plan the API and webhooks are limited.
- Costs
- 1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses and test addresses on sandbox.email-validation.org.
- Full guide
- Read the full setup guide
Typical uses.
Leave out the addresses to remove
Each subscriber gets ev_status, ev_reason, ev_action and ev_checked_at. Spam traps and complainers are valid with the action remove, so trust ev_action.
Clean a group or segment
The sync script checks the active subscribers without a result in one bulk list. With --suppress it also takes the ones to remove out of the group.
Check new subscribers
The relay receives MailerLite’s signed webhook for a new subscriber and writes the result within seconds. The sync script checks only subscribers without a result, so it can also run daily.
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.
Create a MailerLite token
In MailerLite, open Integrations, MailerLite API, Use, and generate a new token. MailerLite shows it once.
Try it free
Add one subscriber,
no_mailbox@sandbox.email-validation.org, to a test group no automation mails, and run the script on it: it gets ev_status invalid and ev_action remove, at no cost. Then delete it.Clean your group
Download email-validation-mailerlite.zip from the guide and run mailerlite.mjs with --dry-run first: it does not ask before it spends.
Add the relay
Deploy
relay.mjsto your Cloudflare account, create the webhook fromwebhook.json, and give the relay the secret MailerLite answers.
Good to know.
Only the four fields change: no subscriber is created, unsubscribed or deleted. With --suppress the script also takes the subscribers to remove out of the group; they stay active in your account.
Run the same command again after any stop and the script resumes the same bulk list without paying twice (within the 30 days a list is kept). It prints ids and counts, never an address or a token.
MailerLite allows 120 requests a minute for the whole account; the script sends 100 a minute by default and writes 50 subscribers per request. The check itself is not slowed.
--region euchecks and keeps the list in the EU, with the same key.
Connect MailerLite
in a few minutes.
Test it on our sandbox addresses for free, then on your own contacts.
Updated · Maintained by: Email Validation LLC