# Mailshake Integration for Email Validation

URL: https://email-validation.org/integrations/mailshake/
Updated: 2026-11-29

> Documentation index: https://email-validation.org/llms.txt

A script you run on your own computer checks the recipients of a Mailshake campaign as one bulk list and writes each status to a result file, since Mailshake’s API cannot update a value on a recipient already in a campaign. When you ask for it, it also pauses the recipients you should not mail.

[Read the full setup guide](https://email-validation.org/docs/guides/mailshake/) [Get an API key](https://email-validation.org/signin/)

- Status: Setup guide
- One file you download and run with Node

**mailshake.mjs** Node 22.18 or later

Terminal

```bash
export EV_API_KEY=…  MAILSHAKE_API_KEY=…
node mailshake.mjs --lists
node mailshake.mjs --campaign <id> --dry-run
node mailshake.mjs --campaign <id>
node mailshake.mjs --campaign <id> --pause
```

## 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 run cold email campaigns in Mailshake and want to know which recipients will bounce, or should not be mailed at all, before the next step goes out.
- **You need**: Node 22.18 or later, an [API key](https://email-validation.org/app/api-keys/) of ours with the Bulk lists permission (off by default: turn it on when you create the key), and a Mailshake API key. Mailshake answers its API only for a team with an active, paid subscription.
- **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 and, in a bulk list, repeats of an address (charged once).
- **Full guide**: [Read the full setup guide](https://email-validation.org/docs/guides/mailshake/)

## Typical uses.

- **A result file to sort by**: mailshake-results-<campaign id>.csv has a row per recipient with email\_validation\_status, email\_validation\_action and the reason. Leave out the rows whose action is remove.
- **Pause the recipients to remove**: With --pause, each recipient whose action is remove is paused in the campaign. Unpausing it in Mailshake undoes that, and the script never pauses it again.
- **Look first, pause later**: Run once without --pause and read the file, then run with --pause: the recipients the file marks remove are paused with no new check and no credits.

## Set it up. 4 steps.

The short version of the [full setup guide](https://email-validation.org/docs/guides/mailshake/), which stays the reference when a step does not match what you see.

1. **Download and unzip**: It is not on a marketplace: download email-validation-mailshake.zip from the guide. It holds mailshake.mjs, one file with nothing to install, and the licence.
2. **Create both keys**: Create an API key of ours with Bulk lists, plus Read balance and usage if you want your balance shown before it asks. In Mailshake, Extensions, API.
3. **Find the campaign**: Set `EV_API_KEY` and `MAILSHAKE_API_KEY`, then run `node mailshake.mjs --lists` for your campaigns and their ids.
4. **Dry run, then run**: `node mailshake.mjs --campaign <id> --dry-run` shows the recipients, the distinct addresses and the most credits it would use. Run it without `--dry-run` and confirm.

## Good to know.

- It never deletes or unsubscribes a recipient and never changes a campaign or a lead: pausing, only when you ask, is the one change it makes in Mailshake.
- The result file holds your campaign’s addresses: the script writes it readable by you alone and never prints an address or a key.
- Mailshake counts quota units per hour for your whole team. The script prints the units it used, waits when they run out, and stops with a time to run again when the wait would be long.
- 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); the next run checks the recipients not in the file yet, those it holds as unknown and those whose address changed.

## Related

- [The full Mailshake setup guide](https://email-validation.org/docs/guides/mailshake/)
- [The columns of the result file](https://email-validation.org/docs/guides/mailshake/#results)
- [How pausing works, and undoing it](https://email-validation.org/docs/guides/mailshake/#pause)
- [How bulk lists work](https://email-validation.org/docs/bulk/)
- [Mixmax integration](https://email-validation.org/integrations/mixmax/)
- [Outreach integration](https://email-validation.org/integrations/outreach/)
- [QuickMail integration](https://email-validation.org/integrations/quickmail/)
- [Reply.io integration](https://email-validation.org/integrations/reply-io/)
- [All integrations](https://email-validation.org/integrations/)
