Email Check plugin: connect to nanoPost

Email Check can tell you that WordPress handed a test email to its mailer. It cannot see whether the email arrived. Connecting the plugin to the nanoPost app at app.nanopo.st adds that part: each test email goes to an address that nanoPost watches, and the plugin screen shows whether it arrived and whether it passed the checks a receiving mail server runs to confirm that the mail comes from your domain. When a test email does not arrive, nanoPost alerts you.

Connecting is optional. The plugin works in full without it, and nothing is sent to nanoPost until you connect.

How connecting works

The nanoPost section on the Email Check screen: what connecting adds, the list of data the site sends, a Connect to nanoPost button, and links to the terms, privacy and help.
The nanoPost section before you connect. Nothing is sent until you click Connect to nanoPost and approve.
  1. Open Tools > Email Check and read the nanoPost section. It lists what the site sends (the same list is below). The section is in version 1.7.0 and later; if you do not see it, update the plugin first.
  2. Click Connect to nanoPost. Your browser opens app.nanopo.st.
  3. Log in to nanoPost. If you have no account, sign up on the same page. nanoPost sends you an email to confirm your address; the link in it brings you back to the approval step.
  4. Approve the connection for your site. Your browser returns to Tools > Email Check, which now says Connected and shows the nanoPost address that receives the tests, with a link to Open the check in nanoPost.

There is no key to copy. The plugin waits 60 minutes for the approval. If sign-up takes longer, click Connect to nanoPost again. To stop, click Cancel on the nanoPost page, before or after you log in: your browser returns to Tools > Email Check, and nothing changes.

What changes while connected

The nanoPost section of a connected site: the address the tests go to, a link to the check in nanoPost, and a Disconnect button.
A connected site. The tests go to the address shown, not to the address in the settings.

In nanoPost, each connected site has a canary: the address its tests go to and the record of what arrived there. Version 1.7.0 of the plugin calls it the check, as in Open the check in nanoPost.

  • Where the tests go. Each test email goes only to the site’s nanoPost address. The address you entered in Send test emails to is not used while the site is connected. After you disconnect, the tests go to it again.
  • The schedule. The interval you choose in the plugin (twice daily, daily or weekly) is the interval of the site’s canary in nanoPost. Change it in the plugin.
  • Alerts. nanoPost alerts you by email, at the address of your nanoPost account, when a test email does not arrive, or when the site reports that it could not send one. If you set a webhook URL in the plugin, nanoPost sends its alerts there too, in the same Slack, Google Chat and Discord formats as the plugin. You get one alert for each problem and one message when it ends.
  • Missing mail. A test email counts as missing when it has not arrived by the time the site’s next test is due, plus a grace period that nanoPost allows for slow delivery. That is when the missing-mail alert goes out.
  • When nanoPost cannot be reached. The plugin never waits for nanoPost before it sends mail, and a call that fails never marks a test as failed. If a test fails to send and the plugin cannot reach nanoPost, the plugin sends its own webhook alert, as it does when not connected.

What the site sends

While connected, the site sends nanoPost:

  • when you connect: a one-time approval code, the site address, and the address of its admin area, so nanoPost can send your browser back after you approve;
  • the site address, the versions of the plugin, WordPress and PHP, the check interval, and the webhook URL if you set one: after you connect, and again when one of them changes;
  • for each test: a test ID, the time it was sent, what started it (the schedule, a user or WP-CLI), whether wp_mail() succeeded, and its error text (at most 500 characters; it can contain host names or email addresses);
  • when you press Send test now: a request for that test’s result, while the plugin screen is open (at most 2 minutes);
  • the plugin version in every call.

nanoPost also receives each test email and its headers, as for any email sent to a canary address, and keeps the IP address of each call for 30 days. The plugin sends no user data, no other email and no other settings. The privacy policy says how long nanoPost keeps each part.

Proof of arrival

After you press Send test now on a connected site, a Proof of arrival box appears under the result. While the plugin screen stays open, the box asks nanoPost about that test every 5 seconds, for up to 2 minutes. It shows one of these:

The proof of arrival box: the test email arrived at nanoPost, with SPF, DKIM and DMARC pass, and links to the check and to help.
A test email that arrived and passed all three checks.
The box says Meaning
Waiting for the test email to arrive at nanoPost … The site sent the email; nanoPost has not received it yet
Arrived at nanoPost, with a time, and SPF, DKIM and DMARC results nanoPost received the email. The results are the receiving server’s SPF, DKIM and DMARC checks, the standard checks Gmail and Outlook also run
The test email did not arrive at nanoPost in time nanoPost stopped waiting for this test and marked it missing. nanoPost alerts you
The site could not send the test email wp_mail() failed on your site. The error is in the log on the same screen
Could not reach nanoPost The plugin could not ask. Open the check in nanoPost to see the result
No result yet Two minutes passed. The email can still arrive: open the check in nanoPost

An arrival proves that the email reached nanoPost and passed or failed those checks there. It does not prove that the same email would reach a Gmail or Outlook inbox, or that it would not land in spam.

Disconnect

Click Disconnect in the nanoPost section of Tools > Email Check. The plugin stops all calls to nanoPost, and the tests go to the address in Send test emails to again. You can also end the connection in nanoPost: under Canaries, open the site’s canary, click Disconnect on the Connected site card, then Disconnect in the Disconnect this site? dialog. The plugin learns of it the next time it calls nanoPost: it ends the connection, shows a notice with a Reconnect button, and sends the tests to the address in Send test emails to again.

A disconnect stops the site’s canary in nanoPost. nanoPost sends no more alerts for it, and refuses mail to its address. The canary’s page says Email Canary is off for this canary, with the date it will be deleted: the canary and its history are kept for 30 days, then deleted. If you connect the same site again within those 30 days, it gets the same canary and the same address back.

Connect more than one site

A nanoPost account can have up to 5 canaries, one for each site. Each site you connect gets its own canary, with its own address; the sites you connected before keep theirs. When all 5 are in use, the nanoPost connect page says “Your plan allows 5 canaries, and they are all in use.” and does not offer the approval. A stopped canary does not count. To make room, disconnect a site you no longer need, or delete a canary in nanoPost, as the page suggests. A disconnected site’s canary no longer counts, but if the site reconnects while 5 other canaries are in use, it gets the same message.

When the site address changes

The plugin remembers the site address it had when you connected. If the address changes, for example on a copied staging site or after a move to a new domain, the plugin ends the connection and stops all calls, so a copy of the site cannot send tests into the live site’s canary. The plugin screen says so, and the tests go to the address in the settings again.

nanoPost is not told about the change. For nanoPost, the site at the old address is still connected, so its canary keeps waiting for mail and then alerts you that mail is missing (see Missing mail under What changes while connected). A site at a new address is a new site for nanoPost, with a new canary and a new address, and it counts toward the 5 canaries.

  • After a move to a new domain: click Connect to nanoPost to connect the site at its new address. Then, in nanoPost, disconnect the old site on its canary’s page, or delete the old canary.
  • On a staging copy: leave it unconnected. If you connect it, it gets a canary of its own.

Plugin too old

If nanoPost no longer supports your version of the plugin, the plugin screen says “This version of nanoPost Email Check is too old for nanoPost. Update the plugin.” Until you update, the plugin does not call nanoPost, so there is no proof of arrival. The connection stays and the test emails still go to nanoPost, so nanoPost still alerts you when they stop. Update the plugin under Plugins or Dashboard > Updates; the calls start again after the update.

Deactivate or delete the plugin

When you deactivate the plugin, it makes no call to nanoPost and sends no more tests. nanoPost then sees no mail, and once the next test is overdue it alerts you that mail is missing. That alert is correct: the site stopped testing. If you mean to stop for good, click Disconnect before you deactivate the plugin, or disconnect the site on its canary’s page in nanoPost. Either way the canary stops and sends no more alerts.

When you delete the plugin, it tells nanoPost to disconnect the site, then removes its settings. The canary stops as after any disconnect, and is deleted after 30 days.