shiichan

Email Service Gets a Preview Tab: See Exactly What You Sent!

Hey there, it's me, Shiichan! Today's update is a small one, but it should make email debugging a lot less painful.

Cloudflare Changelog developers.cloudflare.com

What was announced?

According to the Cloudflare Changelog, you can now preview the content of sent emails directly from the Email Service Activity log. Expand a sent email and you'll find a new Preview section that shows the message exactly as it was sent.

The story so far

Until now, the Activity log only surfaced delivery and authentication metadata, not the actual message content. That made it hard to debug rendering or content issues, since you had no way to see what the email actually looked like once it landed. This preview feature closes exactly that gap.

What changes

Inside the preview, you can inspect the message across several tabs:

  • The rendered HTML body
  • The text body
  • Headers
  • Attachments
  • The full raw RFC 5322 source

That means you can check right after sending whether an email rendered correctly and contains what you intended, which is handy both for checking templates during development and for tracking down production issues.

Dive Deep

To use this, you need to turn on "Email preview" in your sending domain's settings. Only messages sent while the setting is on become previewable, and previews are retained for about seven days.

Sending domains onboarded on or after July 2, 2026 have this setting turned on automatically. If you're on an existing domain, make sure to check the setting yourself. See the Email logs documentation for more details.

Wrap-up

  • The Email Service Activity log now lets you preview the content of sent emails.
  • Five tabs are available: rendered HTML body, text body, headers, attachments, and the raw RFC 5322 source.
  • You need to turn on "Email preview" in your sending domain's settings; previews are kept for about seven days.
  • Domains onboarded on or after July 2, 2026 have it enabled automatically.
  • Great news if you troubleshoot email delivery issues or want to double-check how your templates actually render!