Email platforms

Ghost email validation integration

Give each Ghost member a label for its validation result, so you can filter members in Ghost Admin and send posts only to the addresses that passed. A script you run on your own computer checks the members you have as one bulk list, and a relay on your own Cloudflare account checks each new member and each changed address.

Read the full setup guideGet an API key

  • Setup guide
  • A script and a relay

ghost.mjsNode 22.18 or later

Terminal
export EV_API_KEY=…  GHOST_ADMIN_API_URL=https://example.ghost.io  GHOST_ADMIN_API_KEY=…
node ghost.mjs --filter 'label:email-check-test'   # the free try on a test member
node ghost.mjs --dry-run                          # counts what it would check
node ghost.mjs                                    # checks and labels

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
Publishers who send newsletters from Ghost, self-hosted or on Ghost(Pro), and want the members whose address will bounce, or should not be mailed at all, labelled so they can leave them out.
You need
A custom integration’s Admin API key (Ghost 5 or 6, self-hosted or Ghost(Pro) Publisher and up; Starter has no custom integrations) and an API key of ours. The script needs Node 22.18 or later and our key’s Bulk lists permission (off by default); the relay needs a Cloudflare account of yours.
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 members that passed

    Each member gets one label: ev-valid, ev-valid-remove, ev-invalid, ev-catch-all, ev-unknown or ev-disposable. Spam traps and complainers get ev-valid-remove, so a post sent to ev-valid leaves them out.

  • Clean the members you have

    The script checks every member without a result, or those a Ghost filter matches, in one bulk list. With --unsubscribe it also unsubscribes the free members of the statuses you name from every newsletter.

  • Check new members

    The relay receives Ghost’s signed member webhooks and labels each new member, and each member whose address changed, within seconds.

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. Add a custom integration

    In Ghost Admin, open Settings, Advanced, Integrations and add a custom integration. Copy its Admin API key and your site’s admin URL.

  2. Try it free

    Add a member by hand in Ghost Admin, no_mailbox@sandbox.email-validation.org, with the label email-check-test and every newsletter off, and run the script on that label: it gets ev-invalid, at no cost. Then delete it.

  3. Clean your members

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

  4. Add the relay

    Deploy relay.mjs to your Cloudflare account and add two webhooks in the custom integration, Member added and Member updated, with the same Secret.

Good to know.

  • Only our label changes by default: no member is deleted, no address or subscription is changed, and no email is sent. Paid, comped and gift members only ever get our label.

  • 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.

  • Ghost’s webhooks fire after a member is saved, so this cleans up after sign-ups; it never refuses or slows down one.

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

Connect Ghost.

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