Skip to content

feat(diagnostic): report Resend (email service) issues in the 06:00 email - #180

Merged
cryptolir merged 1 commit into
mainfrom
feat/diagnostic-email-health
Oct 5, 2026
Merged

cryptolir merged 1 commit into
mainfrom
feat/diagnostic-email-health

Conversation

@cryptolir

Copy link
Copy Markdown
Owner

Adds step 4.5 to scripts/ops/diagnostic-cron.sh: calls /api/cron/email-health on the dashboard (added in cryptolir/openclaw-dashboard#692). If Resend has any issue (key, reachability, domain, quota, failed sends in the last 24h), it goes at the top of the email and in the subject (⚠ EMAIL SERVICE (Resend)).

  • The report is sent via Gmail (msmtp), so it still arrives when Resend is down.
  • If the check itself can't run, the email says so (status unknown), never silent.
  • Skipped when CRON_SECRET is unset, same as step 4.

Merge order: after dashboard#692 is deployed, otherwise the next email shows could not run (HTTP 404).

Checked: bash -n ok; the issue parser tested on sample ok/issue JSON.

🤖 Generated with Claude Code

…mail

Calls the dashboard's new /api/cron/email-health (openclaw-dashboard#692)
and puts any issue at the top of the email and in the subject. The email
goes out via Gmail, so it still arrives when Resend is what broke. A failed
check is reported too (status unknown), never silent.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cryptolir
cryptolir merged commit 8645c9a into main Oct 5, 2026
20 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant