How do I stop getting email from WordPress sites I no longer manage?

You built the site, handed it over, and it still mails you: update reports, new-user notices, comment alerts, backup reports. Each of those emails goes to an address stored on the site. You can’t change the site’s core notification recipients from your inbox. That takes access to the site, its hosting, or an authorized integration that can change its settings. From outside, you have a few moves: ask the client, filter your inbox, revoke your own SMTP account if the site still sends through it, and use the opt-out link at the bottom of Wordfence’s security alerts. If you still have access, the job is a short list, and most of it is not the setting the client was asked to change.

Why the client’s change never landed

Changing the Administration Email Address in Settings > General doesn’t change it. WordPress saves the new address as a pending value, new_admin_email, and emails a confirmation link to it; the live admin_email option only changes when someone clicks that link (update_option_new_admin_email()). A client who typed their address, saved and moved on left the site pointed at you, with a “pending change” notice under the field that nobody revisits. In the normal admin-screen flow, WordPress also sends a notice to the previous address when the option changes, “[Site name] Admin Email Changed” (wp_site_admin_email_change_notification(), hooked in admin-filters.php). The confirmation flow, and three ways to set the address without it, are on the page about changing the admin email when the old inbox is unreachable.

When you no longer have access

Ask the client to make the changes, and give them screens rather than commands. In Settings > General, enter their address, save, then open the confirmation email in their own inbox and click the link; that click is the step that was missed. In Users, delete your account and choose “Attribute all content to another user” so your posts move to theirs. Then the plugin screens named under “Copies the admin change doesn’t touch” below. These steps move the core notifications tied to the admin address and your user account.

You can also revoke your own SMTP account. First have the client confirm which account the site’s mail plugin sends through. If it is your SMTP login or API key, that account is yours, and revoking it at your provider is your call. Mail sent through that account, which can include order confirmations and password resets, may fail after you revoke it. Tell the client first; they should connect their own mail account and send a test message.

Wordfence lets you leave from your inbox. Its alert emails end with “No longer an administrator for this site? Click here to stop receiving security alerts.” The link takes your address off Wordfence’s list after you confirm, without a login. None of WordPress core’s notifications carry an equivalent.

For the rest, use an inbox filter. Many core notification subjects include the site title in square brackets: automatic-update notices, for example, use “[Client Site] Some plugins and themes have automatically updated”. WordPress’s default From address is wordpress@ at the site’s domain, but a mail plugin or a WordPress mail filter can change it. Check the sender on a message you actually received, then filter on that sender or the bracketed site title.

A login that still happens to work isn’t the client’s permission. If you have no agreement to change the site, ask before you use it.

Which emails reach you, and which address each one reads

Even a confirmed change only moves admin_email, and some of the mail reads a different address. From the WordPress 7.1.4 source:

Email Sent by Goes to
Automatic update results (core, plugins, themes) WP_Automatic_Updater admin_email; on multisite, the network admin email
New user registered (admin copy) wp_new_user_notification() admin_email
A user reset their password (admin copy) wp_password_change_notification() admin_email, unless the user’s own address is the admin address
Comment held for moderation wp_notify_moderator() admin_email, plus the post author if they can edit the comment
New comment on a post wp_notify_postauthor() the post author’s own account address
Privacy export or erasure request confirmed _wp_privacy_send_request_confirmation_notification() admin_email; on multisite, the network admin email
Recovery mode (a fatal error) WP_Recovery_Mode_Email_Service RECOVERY_MODE_EMAIL if defined in wp-config.php, otherwise admin_email
Admin email changed wp_site_admin_email_change_notification() the previous address, when the change is made in the admin screens

The two comment emails only send when Settings > Discussion asks for them. The full catalogue of core emails has every filter.

Read the table by its last column. Most messages addressed to admin_email follow the new value after the change. The admin-email-change notice is the exception: WordPress sends it to the previous address. Anything that reads a user account keeps coming as long as your account exists: if the site’s first posts went in under your login, every comment on them still reaches you, whatever admin_email says.

Copies the admin change doesn’t touch

Some plugins copy the admin address into their own settings at install or save, and keep mailing the copy until someone edits it:

  • WooCommerce’s stock notification recipient (WooCommerce > Settings > Products > Inventory) and its “From” address (WooCommerce > Settings > Emails). Both default to the admin address, and WooCommerce writes that default into the database when it installs. If WooCommerce went on while admin_email was yours, the stock alerts still come to you, and the store’s emails to customers carry your address in the From field unless a mail plugin or a WordPress filter overrides it.
  • UpdraftPlus’s email report. The checkbox saves the admin address as it stood when the settings were saved, and reports go to that saved value.
  • Wordfence’s “Where to email alerts” list, held in Wordfence’s own database table.
  • An SMTP plugin’s From Email, and the account it sends through. If either is yours, the site’s mail may be going through your account. Check the headers of a message the site sent and the settings at the mail provider; the plugin or provider may rewrite or reject the sender. The From address page covers the setting.

Others read the admin address each time they send, so they follow the change. Contact Form 7‘s default form sends to [_site_admin_email], a mail tag resolved from admin_email on each submission (a form with your address typed into the To field is a different matter). WooCommerce’s New order, Cancelled order and Failed order emails leave the Recipient field empty by default and fall back to admin_email when they send.

Two more live outside the wp_options table. On multisite, the network admin email is stored in wp_sitemeta, separate from each site’s admin_email, and it is the one automatic update and privacy emails read. RECOVERY_MODE_EMAIL is a constant in wp-config.php, so no database search finds it.

Finding every copy

With WP-CLI on the site, one search finds most of them:

wp db search '[email protected]' --all-tables-with-prefix

The search is case-insensitive. By default wp db search covers only the tables WordPress registers (on multisite, only the current site’s); --all-tables-with-prefix searches every table that shares the site’s table prefix, which takes in plugin tables and, on multisite, the other sites and wp_sitemeta. It reads only text and varchar columns, which hides one copy on the list above: Wordfence keeps its settings in a binary (longblob) column, so its alert address never shows up. Check it directly:

wp db query "SELECT CAST(val AS CHAR) FROM wp_wfconfig WHERE name = 'alertEmails'"

Adjust wp_ to the site’s prefix; older Wordfence installs may name the table wp_wfConfig. Two last checks. RECOVERY_MODE_EMAIL lives in wp-config.php, outside the database, and wp user list shows every account’s address, including ones you didn’t think to search for:

wp config get RECOVERY_MODE_EMAIL
wp user list --fields=ID,user_login,user_email

If the constant is defined, the first prints its value; otherwise inspect wp-config.php for the definition.

The handover checklist

nanoPost’s position: the agency makes these changes at handover, with the access it already has, rather than asking the client to click a confirmation link. The click is the step that fails.

  1. Set admin_email directly: wp option update admin_email [email protected], then wp option delete new_admin_email adminhash to clear the pending change. No confirmation link is involved.
  2. Remove your user account and hand its posts to the client’s: wp user delete <your-id> --reassign=<client-id>, or Users > Delete with “Attribute all content to another user”. If you need to keep an account, change its address instead. Either way, comment notifications on your posts stop.
  3. Run the search and change each setting through its plugin’s own screen: WooCommerce’s stock recipient and From address, the UpdraftPlus report address, Wordfence’s alert list, any form with your address typed in. Don’t run a blanket wp search-replace on the address. Hits in comments, orders and email-log tables are history. They set no recipient, so leave them as they are.
  4. If RECOVERY_MODE_EMAIL is defined in wp-config.php, point it at the client or delete the line.
  5. In the SMTP plugin, set the From Email to the client’s domain and replace your SMTP credentials or API key with the client’s own account, then revoke yours at the provider if it is the account the site’s configured mailer uses. Rotating SMTP credentials walks through the revoke.
  6. On multisite, change the network admin email too, in Network Admin > Settings.

Making the next handover easier

nanoPost recommends installing each client site with its own admin address on your domain, such as [email protected] or a per-client alias. WordPress’s address check, is_email(), allows + in the part before the @. A site that slips through handover then mails an address you control and can filter or delete, without touching the client’s site.

The table and plugin behaviour above come from reading the source of WordPress 7.1.4, WooCommerce 11.2.2, Contact Form 7 6.2.5, UpdraftPlus 1.26.14 and Wordfence 9.1.1, and the WP-CLI 2.12.0 source and command reference, in November 2026. The commands were not run against a live site. Plugin defaults change between versions; the search is how you confirm what a given site holds.