@react-email/editor@1.5.0

resend/react-email@react-email/editor@1.5.0May 26, 2026by github-actions[bot]

AI Summary

Added a new `unformattedHtml` field to the compose function result to prevent Gmail clipping issues caused by excessive Prettier formatting.

Key Highlights

  • Added `unformattedHtml` field to composeReactEmail result
  • Prevents Gmail 102 KB clipping threshold issues
  • Reduces byte size by omitting unnecessary indentation

New Features

  • unformattedHtml export

Full Release Notes

### Minor Changes

* 3353e03: expose the unformatted (non-prettified) HTML from `composeReactEmail` as a new `unformattedHtml` field on the result. The existing `html` field is unchanged and still Prettier-formatted. Consumers that persist or send the email should prefer `unformattedHtml`, since `pretty()` indentation can inflate the byte size by 5–10× on deeply-nested table layouts (e.g. exports from Stripo or Mailchimp) and pushes the output past Gmail's 102 KB clipping threshold.