CRM

Givebutter email validation integration

A small receiver of yours gets Givebutter’s webhook each time a contact is created, checks the contact’s addresses and tells you which ones cannot receive mail. If you want, it tags that contact in Givebutter, so you can leave it out of your next email.

Read the full setup guideGet an API key

  • Setup guide
  • A receiver you download and run

createGivebutterHookon contact.created

Your server
const hook = createGivebutterHook({
  apiKey: process.env.EV_API_KEY,
  signingSecret: process.env.GIVEBUTTER_WEBHOOK_SECRET,
  onResult: (r) => console.log(r.contactId, r.blocked),
});
return hook.handle(request);

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
Nonprofits on Givebutter who run a small server or a Cloudflare Worker and want a mistyped donor address caught before their next thank-you or appeal email.
You need
An API key with Validate addresses (API keys), kept on your server; a server Givebutter can reach over HTTPS, in anything with fetch (Node 22 or later, Bun, Deno, Cloudflare Workers); and a Givebutter webhook for contact.created. A Givebutter API key only if you want contacts tagged.
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.

  • Catch a mistyped donor address

    A new contact whose address cannot receive mail is reported the moment Givebutter creates it, while the gift is still fresh.

  • Tag it in Givebutter

    With a tag set, that contact gets it through Givebutter’s own API and keeps its other tags, so you can filter it out of your next email.

  • Never lose a delivery over our side

    A timeout, a rate limit, no credits or any error leaves that address unchecked, never blocked, and Givebutter still gets its answer.

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

    Download email-validation-givebutter.zip from the guide. It holds email-validation-givebutter.mjs and the licence.

  2. Run the receiver

    Import createGivebutterHook, make it once with your API key and the webhook’s signing secret from the environment, and hand it each request.

  3. Add the webhook

    In Givebutter, open Settings, then Developers, then Webhooks, add your receiver’s address for contact.created, and copy its signing secret.

  4. Test it

    Check no_mailbox@sandbox.email-validation.org with the receiver’s own check: it is blocked, at no cost.

Good to know.

  • Givebutter sends the webhook’s signing secret with every delivery; a request without it is refused before its body is read.

  • Only invalid is blocked by default; disposable and catch-all addresses can be added. Valid and unknown are never blocked.

  • An address is checked once per process: a verdict is remembered, an unknown or a failed check is asked again.

  • With region: 'eu' the receiver has addresses validated in the EU and only their results stored there.

  • It has not run against a real Givebutter account yet: it is built from Givebutter’s webhooks article and API reference and tested against stand-ins in memory. Try it with the test address first.

Connect Givebutter.

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