Email platforms
Amazon SES email validation integration
A sync script you run on your own computer checks the contacts of your Amazon SES contact list as one bulk list and writes each verdict into five keys of the contact’s attributes, keeping the rest. Nothing else changes unless you ask: it can add the addresses you name to your suppression list, with an undo file.
Read the full setup guideGet an API key
- Setup guide
- A script you download
eval "$(aws configure export-credentials --profile <profile> --format env)"
export EV_API_KEY=…
node amazon-ses.mjs --aws-region us-east-1 --contact-list <list> --dry-run
node amazon-ses.mjs --aws-region us-east-1 --contact-list <list>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 their subscribers in an Amazon SES contact list and want the contacts that will bounce, or should not be mailed at all, marked before the next send.
- You need
- Node 22.18 or later, an API key of ours with Bulk lists (off by default), the AWS CLI version 2 and an IAM role with the guide’s policy: read and update the one contact list.
- 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.
Know which contacts to leave out
Each contact gets ev_status, ev_reason, ev_action, ev_checked_at and ev_address_hash in its attributes; its other attributes, topic preferences and unsubscribe setting stay. Spam traps and complainers are valid with the action remove, so filter on ev_action.
Suppress, if you ask
Off by default. --suppress invalid adds those addresses to your account-level suppression list, with the reason you name and an undo file; unsuppress removes only what the tool added. Never for valid.
Keys stay on your computer
The script reads AWS credentials only from the environment, signs its own requests with no AWS library, and talks only to our API and your Region’s SES and STS hosts.
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.
Download and unzip
It is not on a marketplace: download email-validation-amazon-ses.zip from the guide. It holds amazon-ses.mjs and the licence.
Make the role
Create an IAM role with the guide’s policy for your contact list and put a short-lived session of it in your shell with the AWS CLI’s export-credentials.
Try it free in a test account
SES allows one contact list per account, so try it in a second account: a list Test with one contact, no_mailbox@sandbox.email-validation.org. Its verdict is invalid and costs nothing.
Dry run, then run
--dry-runcounts what it would check and spends nothing. Run it again without--dry-runto check and write the attributes.
Good to know.
By default it writes only its five keys: it never deletes, creates or unsubscribes a contact, and changes no list or topic. Writing attributes does not change who receives mail.
Run the same command again after any stop (an expired session, an outage) 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 a contact’s address or a key.
SES allows one API request a second, so a first run takes about three seconds per contact; later runs write only the new contacts.
SES sends no event when a contact joins a list, so run the script on a schedule: each run checks only the contacts without a verdict, and those still unknown.
Connect Amazon SES.
Test it on our sandbox addresses for free, then on your own contacts.
Updated · Maintained by: Email Validation LLC