Data and spreadsheets

Notion integration

A script you run on your own computer checks the email addresses in a Notion database as one bulk list and writes each verdict into five properties of that database, so your views and filters can leave out the addresses you should not mail.

Read the full setup guideGet an API key

  • Setup guide
  • A script you download

notion.mjsNode 22.18 or later

Terminal
export EV_API_KEY=…  NOTION_TOKEN=…
node notion.mjs --database "<link>" --dry-run
node notion.mjs --database "<link>"

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 keep contacts, leads or sign-ups in a Notion database and want the addresses that will bounce, or should not be mailed at all, marked in the database itself.
You need
Node 22.18 or later, an API key of ours with Bulk lists (off by default), and a Notion internal connection with Read content and Update content, made once in Notion’s developer portal and shared with the database.
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.

  • Filter on the action

    Each row gets EV Status, EV Reason, EV Action, EV Checked At and EV Address Hash. Spam traps and complainers are valid with the action remove, so a view on EV Action is the one to trust.

  • Only the five properties

    It never creates, deletes, trashes or archives a row, and every other property stays as it is.

  • Check new rows daily or weekly

    Each run checks only rows without a verdict for their address: new rows, changed addresses and unknown verdicts.

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-notion.zip from the guide. It holds notion.mjs and the licence.

  2. Make your Notion connection

    In Notion’s developer portal, create an internal connection with Read content and Update content, copy its API token, and share the database with it.

  3. Dry run, then run

    node notion.mjs --database "<link>" --dry-run counts what it would check and spends nothing. Run it again without --dry-run: it does not ask before it spends.

Good to know.

  • Notion allows a connection 180 requests a minute on most plans; the script sends 150 a minute by default, so writing back 10,000 rows takes about 68 minutes. The check itself is not slowed.

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

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

Connect Notion.

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