Nomination Email Live Diagnostic

Test the deployed send-nomination-email edge function

Development Only — Captures actual deployed function behavior

What This Test Does

1. Calls the LIVE DEPLOYED send-nomination-email edge function
2. Captures the exact HTTP status and response body
3. Shows sender address and recipient email
4. Displays Resend API response including error details
5. Queries the nominations table to verify record creation
6. Reports whether email was accepted/queued by Resend

• Enter a real email address you can access
• Or use Resend testing inbox: delivered@resend.dev
• Resend rejects test domains like example.com

Key Diagnostic Points

EDGE FUNCTION REACHABLE

Confirms the deployed function can be invoked from the browser

HTTP STATUS

200 = success, 500 = backend error, anything else = invocation issue

SENDER ADDRESS

Shows exactly what sender the function is using (should be nominations@8pointo.com)

RESEND HTTP STATUS

200 = accepted, 403 = forbidden, 422 = unprocessable, etc.

EMAIL ACCEPTED/QUEUED

YES = Resend accepted and queued the email. NO = Resend rejected it.

NOMINATION INSERT

YES = Record created in database. NOT FOUND = may be async or RLS restricted from client.

Expected vs. Actual

✓ IF WORKING:

  • • HTTP STATUS: 200
  • • SENDER ADDRESS: 8.0 <nominations@8pointo.com>
  • • RESEND HTTP STATUS: 200
  • • EMAIL ACCEPTED/QUEUED: YES
  • • MESSAGE ID: [present]

✗ IF FAILING:

  • • HTTP STATUS: 500 (backend error)
  • • RESEND HTTP STATUS: 403 or 422 (Resend rejected it)
  • • EMAIL ACCEPTED/QUEUED: NO
  • • RESEND RESPONSE shows exact error reason

Previous Diagnostic Conclusion

CLAIMED: Sender domain 8pointo.com not verified in Resend

STATUS: Awaiting confirmation from live deployed function

Run the diagnostic above to confirm or refute this hypothesis.