E-commerce

Shopware email validation integration

A script you run on your own computer reads every customer of your Shopware 6 shop through its Admin API, checks the addresses (up to 50 one by one, more as one bulk list) and writes each result into four customer custom fields, so the addresses you should not mail are marked.

Read the full setup guideGet an API key

  • Setup guide
  • A script you download

shopware.mjsNode 22.18 or later

Terminal
export SHOPWARE_URL=https://… SHOPWARE_ACCESS_KEY_ID=… SHOPWARE_SECRET_ACCESS_KEY=… EV_API_KEY=…
node shopware.mjs --dry-run
node shopware.mjs

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
Shopware 6 merchants who mail their customers (newsletters, order follow-ups, win-back campaigns) and want the addresses that will bounce, or should not be mailed at all, marked on the customer.
You need
Node 22.18 or later, an API key of ours (with Bulk lists for more than 50 customers), and a Shopware integration (Settings → System → Integrations) whose role reads and updates customers and, for the first run, creates the four custom fields.
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.

  • Mark the bad addresses

    Each customer gets ev_status, ev_reason, ev_checked_at and ev_address_hash, shown on the customer’s page in the Administration.

  • Check new customers daily

    Each run checks only customers whose address has no result yet, so a daily run gives every new or changed address a result within a day.

  • Nothing else changes

    It writes only its four custom fields, by customer id, and only while the customer still holds the address it checked. Shopware keeps the customer’s other custom fields. It never deletes, merges or changes an address.

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 in the Shopware Store: download email-validation-shopware.zip from the guide. It holds shopware.mjs and the licence. Nothing is installed in the shop.

  2. Create an integration

    In the Administration, Settings → System → Integrations → Create integration, with a role that reads and updates customers. Save the access key ID and the secret access key: Shopware shows the secret once.

  3. Dry run, then run

    node shopware.mjs --dry-run counts what it would check and changes nothing. Run it again without --dry-run: it does not ask before it spends.

Good to know.

  • 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). It prints ids and counts, never an address or a key.

  • It sends 4 Admin API requests a second by default (--rate, at most 20), so a small server stays free for your visitors. When the shop answers busy or with a server error, it waits and tries again; after four tries it stops and the same command resumes.

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

Connect Shopware.

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