Frameworks and SDKs

PandaDoc email validation integration

A small module your server calls before it creates a PandaDoc document checks the address of every recipient, group members included. It tells you which addresses cannot receive mail and where they sit in the request, so a mistyped address is fixed before the document goes out.

Read the full setup guideGet an API key

  • Setup guide
  • A module you download and call

checkDocumentbefore Create document

Your server
const ev = createPandaDocCheck({ apiKey: process.env.EV_API_KEY });
const report = await ev.checkDocument(body);
if (!report.ok) console.log(report.blocked);
// [{ where: 'recipients[0].email',
//    status: 'invalid', reason: 'no_mailbox', … }]

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 that create PandaDoc documents from their own code through PandaDoc’s API and want a wrong address caught before the document is sent.
You need
An API key with Validate addresses (API keys), kept on your server, and server code that creates PandaDoc documents, in anything with fetch (Node 22 or later, Bun, Deno, Cloudflare Workers). No PandaDoc token: the module only reads the request you are about to send.
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 address before it bounces

    A client who gave a mistyped address is reported as blocked before the document is created, while you can still ask for the right one.

  • See exactly which recipient to fix

    Each blocked recipient comes with where it sits in the request, such as recipients[0].email, and our suggestion when there is one.

  • Never stop a send over our side

    A timeout, a rate limit, no credits or any error leaves that recipient unchecked, never blocked, so a problem on our side never holds your documents.

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

  2. Make the check once

    Import createPandaDocCheck and make it once per process with your API key from the environment.

  3. Check before each document

    Pass the Create document body to checkDocument before you create the document, and create it only when the report is ok.

  4. Test it

    Check a document with no_mailbox@sandbox.email-validation.org as a recipient: the report blocks it, at no cost.

Good to know.

  • It reads the request and answers a report: it never changes the request, never calls PandaDoc and needs no PandaDoc key.

  • 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 module has addresses validated in the EU and only their results stored there.

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

Connect PandaDoc.

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