Skip to content

ERR_EMAIL_SEND_FAILED — Email Send Failed

HTTP Status: 502 Retryable: Yes Automatic retry: None. Email sends are fire-and-forget. The underlying operation completes regardless of email delivery status.

What the User Sees

Failed to send email notification. (ERR_EMAIL_SEND_FAILED)

What Causes This Error

The Resend API (used for all transactional emails including conversion notifications, refund confirmations, and alert emails) failed to deliver the email. This error is logged but does NOT block conversions or other operations — email delivery is best-effort and fire-and-forget.

Possible causes include: Resend API outage, invalid RESEND_API_KEY, rate limiting on the Resend account, invalid or bounced sender domain (theaccessible.org), DNS resolution failures, or the recipient email address being invalid.

Email sends happen asynchronously after the primary operation completes. A conversion will succeed and the user will see their results even if the notification email fails. This error primarily appears in admin logs rather than being shown to users.

Resolution Steps

For Users

  1. No action is needed. The underlying operation (conversion, refund, etc.) completed successfully.
  2. The notification email just was not delivered. You can check the status of your conversion directly in the application.
  3. If you consistently do not receive emails, check your spam folder or verify your email address in account settings.

For Administrators

  1. Check the Resend dashboard at https://resend.com/emails for delivery status and any error details.
  2. Verify the RESEND_API_KEY Worker secret is valid and has not expired.
  3. Check that the sender domain (theaccessible.org) DNS records are valid in the Resend dashboard. SPF, DKIM, and DMARC records must be correctly configured.
  4. Look for patterns in Grafana logs: search for [email] send failed to identify whether the issue is widespread or isolated to specific recipients.
  5. Check the Resend account for rate limiting or sending quota issues.
  6. Test email delivery manually:
    Terminal window
    ~/.claude/scripts/send-email.sh "Test Email" "<p>Testing email delivery</p>"
  • None. Email delivery is independent of other system operations.