Notes from Nazir

How I Built a Free, Self-Hosted Email Verifier for a 12,000-Contact List

Last weekend I checked about 12,000 email addresses without buying a single verification credit, using a small server I was already paying for. And trust me, it did not go smoothly the whole way, because almost every tool I touched had one catch or another that the tutorials never mention.

I was helping a client clean up a marketing list that had grown for years through newsletter forms, contact forms, webinar signups and a couple of old CSV imports, and every campaign was quietly going out to more dead addresses than anyone wanted to admit. Paid verification services charge per address, so a list that size means a real bill, and that bill comes back every single time the list grows, which felt wrong for a job I could own myself.

So I set up a free, open-source verifier called Reacher on that server, connected it to n8n and the client’s WordPress CRM, and let the whole list run through it overnight. Along the way I ran into a server panel that blocked the usual install, a CRM with its API switched off, and an automation that ran out of memory right at the finish line. Below you’ll find the problem, the limits I worked around, how I got past each one, and a friendly step-by-step guide you can follow even if you have never managed a server before.

Why Does an Unchecked Email List Hurt So Much?

The list had roughly 12,000 subscribed contacts and no verification history at all, so nobody could say how many of them could still receive an email. Some were simple typos like gmai.com, some were throwaway inboxes that people use once and forget, and some belonged to companies that had closed years ago, yet every one of them still counted as a subscriber and still got every campaign.

That matters more than it sounds, because mailbox providers like Gmail and Outlook watch how many of your emails bounce, and a list full of dead addresses slowly pushes even your good emails toward the spam folder.

That’s the real cost of a dirty list.

The goals were simple to describe and a lot harder to pull off:

  • Check every subscribed contact once, without paying for verification credits.
  • Label each contact inside the CRM, so campaigns could be aimed at good addresses instead of everyone.
  • Keep checking new signups automatically, so the list stays clean after the big cleanup.
  • Never change anyone’s subscription status by accident, because quietly resubscribing someone who opted out is worse for deliverability than any dead address.

A paid verification service would have handled the first goal, but it would not have handled the second and third without more paid add-ons and integrations, and I wanted a setup the client actually owns and can keep running for free.

What Do You Need to Build a Free Email Verifier?

The whole setup uses four free or already-paid pieces, and you don’t need to be a developer to put them together:

  • A small VPS (a rented server) with 2 CPU cores and 4 GB of memory, managed through a web control panel, so most of the work happens by clicking rather than typing commands.
  • Reacher, an open-source email verifier. It checks an address by politely asking the receiving mail server whether that mailbox exists, then hangs up before any email is actually sent.
  • n8n, an open-source automation tool similar to Zapier, which moves contacts from the CRM to Reacher and sends the results back.
  • The client’s WordPress CRM, which had a feature called an incoming webhook, a private link that lets outside tools add tags to contacts.

Reacher runs inside Docker, which is a way of running an app in its own sealed box so it can’t interfere with anything else on the server. If you’ve never used Docker, don’t worry, because you only need to paste a few commands, and I’ll explain each one.

How the four pieces fit together
How the four pieces fit together

New subscribers come in from the CRM, a CSV upload covers the one-time cleanup, and either way n8n asks Reacher about each address and sends the matching tag back to the CRM.

On paper those four pieces are enough, but each one came with a catch, and honestly most of the weekend went into working around them.

The limit Why it was a problem How I got around it
The most popular setup guide asks you to install a web server called Caddy My control panel already runs its own web server, and the two would have fought over the same ports and broken the other websites on the server I skipped Caddy and ran Reacher privately on the server, then let the control panel handle the web address and the SSL certificate
The control panel has no option to point a web address at an app like Reacher There was simply no button for it I created an ordinary website in the panel for the address, then changed one line in its settings file so it forwards visitors to Reacher
The CRM’s API was switched off for security n8n normally talks to a CRM through its API, so it had no way in I used the CRM’s incoming webhook instead, which can find a contact by email address and add a tag
The webhook always applies a default status Sending an unsubscribed contact through it could have quietly resubscribed them I tested it on my own contact first, then only ever sent subscribed contacts, so the default status changes nothing
The CRM had no trigger for “someone just confirmed their subscription” People who sign up with double opt-in start as pending, so checking them right away would skip them forever A simple automation that waits 1 day, then 3 more, then 7 more, checking each time whether they’ve confirmed
n8n kept every result in memory until the end The first full run crashed right after the checking finished and lost about 3,800 results I rebuilt the workflow so it checks and tags one contact at a time, which keeps memory use low and steady

If I had to pick the single most important hour of the whole project, it would be the webhook test, because it proved the webhook only added a tag and left the contact’s status, lists and automations exactly as they were, and everything after that depended on it.

How to Set Up Your Own Email Verifier, Step by Step

This is the part you came for, and I promise it’s more copy-and-paste than real server work. Most server control panels give you a terminal right in your browser, which is just a black window where you paste a command and press Enter, so you won’t need any special software on your computer. Wherever you see example.com below, swap in your own domain, and treat the secret key we create in step 2 like a password, which means never pasting it anywhere public.

Step 1: Make sure your server is allowed to talk to mail servers

Reacher works by connecting to other mail servers on something called port 25, and a lot of hosting companies block that port by default to stop spammers. So before you install anything at all, it’s worth spending ten seconds checking that the door is open. Open your server’s terminal, paste this line and press Enter:

timeout 8 bash -c '</dev/tcp/gmail-smtp-in.l.google.com/25' && echo OPEN || echo BLOCKED

This tries to reach Gmail’s mail server and gives up after 8 seconds. If you see OPEN, you’re good to go. If you see BLOCKED, send your hosting company a short support message asking them to allow outbound port 25 for email verification, and wait until they do, because Reacher can’t give you useful answers without it.

the port 25 test in a browser terminal
Illustration: the port 25 test in a browser terminal

Step 2: Install Reacher

Many server panels can install Docker for you with a click, and if yours can’t, the official Docker install guide is a handful of commands you paste one after another. Once Docker is there, paste the block below as one piece. It creates a folder for Reacher, generates a random secret key, writes a small settings file and starts Reacher in the background:

mkdir -p /opt/reacher && cd /opt/reacher
S=$(openssl rand -hex 32)
printf 'services:\n  reacher:\n    image: reacherhq/backend:latest\n    container_name: reacher\n    restart: unless-stopped\n    environment:\n      - RCH__HEADER_SECRET=%s\n      - RCH__HELLO_NAME=example.com\n      - RCH__FROM_EMAIL=verify@example.com\n    ports:\n      - "127.0.0.1:8080:8080"\n' "$S" > docker-compose.yml
docker compose up -d

A few things are happening here that are worth knowing about. The line with 127.0.0.1 keeps Reacher private to your own server, so it never gets in the way of your websites and strangers can’t use it. The verify@example.com address doesn’t need to be a real mailbox, because Reacher only uses it to introduce itself to other mail servers and hangs up before any email is sent. And if you ever follow another guide, watch out for one small trap: the secret key setting is called RCH__HEADER_SECRET, and some older guides use a different name that silently does nothing.

The first start takes a minute or two while Docker downloads Reacher, which is about 400 MB.

starting Reacher with Docker
Illustration: starting Reacher with Docker

Step 3: Run your first test

Now let’s make sure it actually works. This command reads your secret key from the settings file and asks Reacher to check a Gmail address:

S=$(grep HEADER_SECRET /opt/reacher/docker-compose.yml | cut -d= -f2)
curl -s -X POST http://127.0.0.1:8080/v0/check_email \
  -H 'Content-Type: application/json' -H "x-reacher-secret: $S" \
  -d '{"to_email":"someone@gmail.com"}'

You’ll get back a block of text, and the part to look for is is_reachable, which will say one of four things: safe means the mailbox exists, invalid means it doesn’t, risky means it exists but has a warning sign, and unknown means the mail server refused to answer. If you see any of those, Reacher is working.

a shortened Reacher reply
Illustration: a shortened Reacher reply

To see your secret key later, for example when you set up n8n, run grep SECRET /opt/reacher/docker-compose.yml.

Step 4: Give Reacher a web address (only if you need one)

If n8n runs on the same server as Reacher, which is how I set it up, you can skip this step entirely, because n8n can reach Reacher privately. You only need a public address like https://reacher.example.com if tools on other servers will use it.

In that case, create a new, ordinary website for that address in your control panel. That way the panel takes care of the DNS record and the free SSL certificate for you. Then open that site’s NGINX settings file (your panel’s docs will say where it lives), find the location / section and replace what’s inside it with this:

location / {
    proxy_pass http://127.0.0.1:8080;
    proxy_set_header Host $host;
    proxy_read_timeout 120s;
}

This tells the website to pass every request on to Reacher, and to wait up to two minutes because some mail servers are slow to answer. Keep a copy of the original file before you change anything, and run nginx -t before reloading, which checks your edit for mistakes so a typo can’t take your other sites offline. Also keep in mind that some panels rewrite this file when you change the site’s settings, so if the address ever goes back to a blank page, the edit simply needs putting back.

creating the site in a control panel
Illustration: creating the site in a control panel

Step 5: Create four tags in your CRM

This is the easy bit. In your CRM, create one tag for each possible result, so you can filter and target contacts by email quality later:

  • Email: Verified
  • Email: Risky
  • Email: Invalid
  • Email: Unknown
the four result tags in a CRM
Illustration: the four result tags in a CRM

Step 6: Test your CRM’s webhook on one contact before trusting it

This is the step I’d beg you not to skip. Create an incoming webhook in your CRM, then send just one contact through it, ideally your own, with one of the new tags. Before and after, write down that contact’s status, lists and the automations it’s in, and compare them. You only move on if the tag was added and absolutely nothing else changed, because in the next step thousands of contacts will go through that same webhook.


Tip: Pick a test contact that’s already in a couple of lists and automations. If any of those change after the webhook runs, you’ve found the problem on one contact instead of twelve thousand.


Step 7: Build the bulk-checking workflow in n8n

In n8n you’ll build two small workflows that work as a team. Splitting the job like this is what stops n8n from running out of memory on a big list, and it also means you can watch the tags appear in your CRM while it runs.

  1. The main workflow is the part you interact with. It starts with a Form Trigger node that gives you a simple upload page for your CSV file. Then a Code node reads the file, finds the email column and removes any duplicates. Finally, an Execute Workflow node hands the contacts, one at a time, to the second workflow, set to wait for each one to finish before sending the next.
  2. The helper workflow does the actual work for one contact. It starts with an Execute Workflow Trigger. An HTTP Request node sends the email to Reacher at http://127.0.0.1:8080/v0/check_email, with your secret key in a header called x-reacher-secret and a 90-second timeout. A small Code node turns the result into the matching tag. A second HTTP Request node sends the email and tag to your CRM’s webhook. Then a Wait node pauses for 2 seconds, so you don’t hammer other mail servers and get your server’s address blocked.
the two n8n workflows
Illustration: the two n8n workflows

Publish the helper workflow first, because n8n won’t publish the main one while it points at an unpublished helper. Then test with a CSV of one contact, then ten, and only when those look right in your CRM, upload your full export. Always use the form’s published link for the real run, not the test button in the editor, so it keeps running on the server after you close your browser.

At one check every few seconds, expect roughly 10 to 15 contacts a minute, so a list of 12,000 takes the best part of a day. That’s slow on purpose, and it’s fine to leave it running overnight.

Step 8: Check new subscribers automatically

The last step keeps the list clean from now on, so you never have to do a big cleanup like this again. In n8n, make a third workflow that starts with a Webhook node, skips anyone who isn’t subscribed yet, and then does the same check and tag as the helper workflow.

In your CRM, create an automation that starts when a contact is created and is allowed to include contacts who haven’t confirmed yet. It waits 1 day, checks whether the contact is now subscribed, and if so sends an outgoing webhook to your n8n workflow. For people who confirm late, add second and third tries after 3 and 7 more days. After that, every new subscriber gets checked and tagged about a day after signing up, without you lifting a finger.

the new-subscriber automation in the CRM
Illustration: the new-subscriber automation in the CRM

What Went Wrong (So You Don’t Have to Repeat It)

Not everything worked the first time, and these are the mistakes that cost me the most time, so you can skip them.

  • My first full run lost about a third of its results. The original workflow checked every address first and only sent the tags at the very end, which meant n8n had to hold 12,000 results in memory at once. It ran out of memory and crashed after tagging roughly 8,200 contacts, and the rest of the results disappeared with it. Checking and tagging one contact at a time, as in step 7, fixed it completely, and as a bonus you can now watch the tag counts climb in your CRM while it runs.
  • I started the big run from the editor’s test button. Test runs are tied to the editor screen, so the moment I opened something else in that browser tab, the editor lost track of the run and I couldn’t see whether it was still going. Use the form’s published link instead, because that run belongs to the server, not to your browser.
  • Email opens turned out to be misleading. When I tried to rescue “Invalid” contacts that showed recent opens, a few of them were misspelled domains that can’t receive email at all, which meant the opens came from security software that scans incoming mail, not from people. A much better signal was whether someone clicked a link after their first couple of emails, because people who sign up with a disposable inbox often click once at signup and then vanish for good.
  • About 12% came back Unknown. Yahoo, AOL, Outlook and some large internet providers deliberately refuse to answer verification checks, and Reacher’s workaround for those providers kept failing on my server. Checking them again barely helps, so instead I sorted them by how they engage with emails, which I cover in the next section.
  • One disposable address slipped through as Verified. The mailbox really did exist, so Reacher was technically right, but it was still a throwaway inbox. If that bothers you, add a check against a public list of disposable email domains on top of Reacher.

What Did 12,000 Checks Actually Show?

All 12,000 subscribed contacts were checked across two overnight runs, and the only cost was a server that was already running anyway.

Result Contacts Share What I did with them
Verified 7,320 61% Nothing at all, because these are the core audience for every campaign
Risky 2,760 23% Kept them, since most were company domains that accept any address and shared inboxes like info@
Unknown 1,440 12% Kept them, and sorted them by how they engage with emails instead of checking them again
Invalid 480 4% Looked through a sample to be sure, then marked all of them as bounced so they never get emailed again
How the 12,000 checks split by result
How the 12,000 checks split by result

The Risky and Unknown groups needed one more pass, because a label alone doesn’t tell you whether a real person reads those emails. So I split them by behaviour. About 200 contacts who had clicked a link in a real email during the last 90 days were moved up to Verified, since a click is the clearest proof that someone is on the other end. The roughly 3,600 who had never clicked, or hadn’t clicked in over 90 days, were tagged for a single, honest re-engagement email that simply asks whether they still want to hear from us. Anyone who clicks the button in that email is turned into a Verified contact automatically by a smart link, and anyone who doesn’t is unsubscribed two weeks later, exactly as the email promises.

By the end of the weekend the list had gone from 12,000 subscribers of unknown quality to about 11,500 labelled ones, with 480 dead addresses gone before the next campaign, and every new subscriber now gets checked automatically about a day after signing up. If you have a small server, an hour to check that port 25 is open, and a bit of patience for the quirks above, you can build exactly the same thing, and it will keep working for free for as long as your server stays up.

Start with One Check This Weekend

You don’t need to build all eight steps in one sitting. All you have to do is get started.

Run the port 25 test from step 1, install Reacher, and check a handful of addresses you already know are good or bad. Once those answers look right, the CRM tags and the n8n workflows are the same pattern repeated, just with a bigger list behind them.

Most people can have the whole setup running over a weekend, and from then on every new subscriber gets checked without anyone touching it.

Frequently Asked Questions

Is Reacher really free?

Yes, the self-hosted version on GitHub is free to run on your own server, so your only cost is the server itself, which many people already pay for.

Do I need to know how to code?

No, because almost every step is copying a command into your server’s browser terminal or clicking through n8n’s visual editor, and the only small edit is one block in a settings file, which step 4 walks through.

How long does it take to check a big list?

At a safe pace of roughly 10 to 15 addresses a minute, a list of 12,000 takes the best part of a day, so it’s best left running overnight on the server.

Why do so many addresses come back Unknown?

Yahoo, AOL, Outlook and some large internet providers deliberately refuse verification checks, so for those addresses it’s more useful to look at whether people click your emails than to keep checking them.

Will verifying addresses get my server blacklisted?

It can if you check thousands of addresses as fast as possible, which is why the workflow pauses between checks and why it’s worth giving your server’s IP a matching reverse DNS name in your hosting panel.