# Validate Groundhogg Contact Emails: Setup Guide

URL: https://email-validation.org/docs/guides/groundhogg/
Updated: 2026-12-05

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

Check the address of each contact Groundhogg adds, and tag the contacts whose address should not get your emails. Two
plugins do the work:

- **email-validation.org – Email Validation for Forms**, the [WordPress plugin](https://email-validation.org/docs/guides/wordpress/), holds your
  key and your rules: which statuses are stopped.
- **Email Validation for Groundhogg**, an add-on to it, checks each new contact, and each changed address, with those
  rules and tags the contact.

The add-on is not in the WordPress.org plugin directory. You install it from the zip on this page. It is new: it has
not yet run on a real site with Groundhogg. If something does not work as described here, [tell us](https://email-validation.org/contact/).

## Before you start

- **An API key** from the [API keys page](https://email-validation.org/app/api-keys/) with "Validate addresses". A
  [daily credit cap](https://email-validation.org/docs/authentication/#limits) limits what a busy site can spend.
- **Groundhogg**, the free plugin from WordPress.org, which needs **WordPress 6.9 or later**, and PHP 8.1 or later for
  the add-on.

## Install

1. Install the WordPress plugin from its zip: download
   [email-validation.zip](https://email-validation.org/downloads/wordpress/email-validation.zip) (version 1.2.1), then in **Plugins → Add Plugin
   → Upload Plugin** choose it, click **Install Now** and **Activate**, and set your key under **Settings → Email
   validation**. The add-on needs the plugin's 1.1.2 or later, and the
   [WordPress.org listing](https://wordpress.org/plugins/email-validation-org/) still has version 1.1.1; once it
   shows 1.2.1 you can install it from **Plugins → Add Plugin** instead (search for **email-validation.org**). Already
   installed from WordPress.org? Upload the zip all the same and click **Replace current with uploaded**: your
   settings and key stay. The [WordPress guide](https://email-validation.org/docs/guides/wordpress/#install) has each step.
2. Download [email-validation-org-groundhogg.zip](https://email-validation.org/downloads/groundhogg/email-validation-org-groundhogg.zip). It is
   built from the add-on's source and holds only the files it needs, in its own folder.
3. In WordPress, open **Plugins → Add Plugin → Upload Plugin**, choose the zip and click **Install Now**, then
   **Activate**. WordPress activates it once the WordPress plugin and Groundhogg are active; without one of them, the
   add-on does nothing and says so.

From then on every contact Groundhogg adds is checked, wherever it comes from: Groundhogg's own forms, a WordPress
registration, another plugin's integration, the REST API or **Add contact** in the admin.

## When a contact is added

Groundhogg saves a contact before any add-on sees it, so a contact is never refused. The add-on checks the address
right after, and when its status is one the plugin stops (by default `invalid` and `disposable`; change them under
**Settings → Email validation**), it gives the contact the tag **Email check: invalid** (or the status it got:
**Email check: disposable**, **Email check: catch_all**, …). A contact carries at most one of these tags.

When a contact's address changes, the new address is checked the same way. If it passes, the add-on takes its tag
off. A check that cannot be done (our API slow or out of reach, no credits) leaves the contact as it is, and so does an
`unknown` result: an earlier tag stays until a definite result replaces it. A check waits at most 10 seconds and is
never retried. The plugin remembers a definite result for an hour and limits the checks one visitor can cause, so an
address is not paid for twice in that hour.

Never checked:

- Groundhogg's imports, user syncs and other bulk work, and anything run by WordPress's cron or WP-CLI: a list would
  use one credit per row without you asking. Check a list with a [bulk list](https://email-validation.org/docs/guides/no-code/#bulk) instead,
  where you see the cost first;
- past the fifth address in one request (a sync run by another plugin, for example);
- contacts that were there before the add-on was installed, until their address changes.

To try it, first pause any funnel that starts when a contact is added or tagged, then add a contact with
`no_mailbox@sandbox.email-validation.org`: it gets **Email check: invalid**, and [test addresses](https://email-validation.org/docs/test-addresses/)
cost nothing. That domain receives no mail, so send it nothing: delete the contact afterwards, so no funnel or
broadcast sends it an email.

## Use the tags

The tags are Groundhogg's own, so everything in Groundhogg that works with tags works with them:

- **Funnels:** start a funnel with the **Tag Applied** benchmark and the tag **Email check: invalid**, for example to
  notify your team or ask the contact for another address.
- **Broadcasts and searches:** in a contact search, put the tags in the exclude group to leave those contacts out, and
  save the search: saved searches show when you schedule a broadcast.

Do not rename these tags on Groundhogg's **Tags** page: Groundhogg makes a tag's slug from its name, and the add-on
finds its tags by that slug. A renamed tag becomes one of your own, and the add-on makes a new **Email check: …** tag
the next time it needs one.

## Leave contacts out

Add this to your theme's `functions.php` or a code snippets plugin, with your own test in place of the domain:

```php
add_filter( 'evorg_groundhogg_check_contact', fn( $check, $contact ) => str_ends_with( $contact->get_email(), '@example.com' ) ? false : $check, 10, 2 );
```

Those contacts are then never checked: nothing is sent or charged for them. The filter
`evorg_groundhogg_max_per_request` changes the limit of five addresses per request.

## What the add-on keeps

Nothing of its own: no setting, file or log. What it writes is Groundhogg's tags, which stay when you remove the
add-on. It has no key field: the key stays where the WordPress plugin keeps it, and is sent only to our API. To stop
the checks, deactivate the add-on.

## More on Groundhogg

- [Groundhogg email validation integration](https://email-validation.org/integrations/groundhogg/)
