Sending Emails — Debugger
Every send leaves a trace.
Pipeline: request → template render → variables → Gmail accepted → sent. We flag what to fix.
Pipeline
- Request received — POST accepted
- Template rendered — or skipped for custom html
- Variables resolved — all {{placeholders}} filled
- Gmail accepted — Google queued for that from account
- Message sent — Gmail returned messageId
What we flag
- Missing {{variable}} — pass in data
- Bad email — to/from/cc/bcc must be valid
- Invalid HTML — unclosed tags clip in inboxes
- Image has no alt — add alt
- HTML too large — >100 KB slow on mobile
Response includes debug.issues: string[]. Logs show it too: Dashboard → Email Logs.