If you or your developer manage the site with WP-CLI (the command-line tool for WordPress), the free Email Health Check & Log plugin has two commands. The plugin does not run them on a schedule: you or your server’s task scheduler run them.
wp ehc check
“ wp ehc check wp ehc check --format=json “
It runs the same checks as the Health Report and prints each one’s name, status and message. Add --format=json for scripts. It exits with status 1 when any check fails, so a script can react to it. Warnings and “Not checked” results do not change the exit status.
The server IP blocklist check needs the web server’s address, which the command line does not have, so it is skipped unless you set the address with the ecehc_server_ip filter.
wp ehc log
“ wp ehc log wp ehc log --status=failed --limit=50 wp ehc log --source=<source> --type=<email type> wp ehc log --stats “
It lists recent logged emails: time in UTC, status, source, WooCommerce email, the partly hidden recipient and the error. --status takes sent or failed. --limit defaults to 20 and is capped at 100. --stats prints accepted and failed counts and the failure rate for the last 24 hours and 7 days. The log needs WordPress 5.9 or newer, and it holds only what the email log stores: no subjects or messages.
For developers
The ecehc_checks_completed action fires after every run of the checks, with each check’s result. The ecehc_email_logged action and the ecehc_log_row filter give access to log rows, which gained an additive order_id key in 1.9.0. The ecehc_checks filter lets you add or remove checks, and the ecehc_run_checks() function runs them from code. The plugin’s repository documents these hooks, with a stability promise, in docs/extending.md.
You can get the plugin on WordPress.org.