CRM

Capsule CRM email validation integration

A script you run on your own computer reads every Capsule CRM contact, people and organisations, checks the addresses (up to 50 one by one, more as one bulk list) and writes each result into four custom fields, so a filter can leave out the addresses you should not mail.

Read the full setup guideGet an API key

  • Setup guide
  • A script you download

capsule.mjsNode 22.18 or later

Terminal
export CAPSULE_TOKEN=… EV_API_KEY=…
node capsule.mjs --dry-run
node capsule.mjs

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
Small teams who keep their contacts in Capsule and want the ones whose addresses will bounce, or should not be mailed at all, marked where a filter can leave them out.
You need
Node 22.18 or later, an API key of ours (with Bulk lists for more than 50 contacts), and a Capsule personal access token (My Preferences → API Authentication Tokens) of a user who sees and edits every contact and, for the first run, is an administrator, since that run creates the four fields.
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.

  • Leave out the bad addresses

    Each contact gets ev_status, ev_reason, ev_checked_at and ev_address_hash. A filter on ev_status finds the invalid and disposable ones.

  • Check new contacts daily

    Each run checks only contacts whose address has no result yet, so a daily run gives every new or changed address a result within a day.

  • Nothing else changes

    It writes only its four fields, by contact id, and only while the contact still holds the address it checked. It never deletes, merges or changes an address.

Set it up. 3 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. Download and unzip

    It is not on a marketplace: download email-validation-capsule.zip from the guide. It holds capsule.mjs and the licence.

  2. Make a Capsule token

    In Capsule, My Preferences → API Authentication Tokens. The token acts as your user.

  3. Dry run, then run

    node capsule.mjs --dry-run counts what it would check and changes nothing. Run it again without --dry-run: it does not ask before it spends.

Good to know.

  • Run the same command again after any stop and it 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.

  • Capsule allows 4,000 requests an hour for each user and asks for about a second between requests, so the script sends one a second and, when Capsule says the limit is reached, waits until its reset time, up to a minute per wait; if Capsule still refuses, it stops and the same command resumes.

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

Connect Capsule CRM.

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