react-email@6.1.5

resend/react-emailreact-email@6.1.5May 18, 2026by github-actions[bot]

AI Summary

Optimizes memory usage during the `email export` command for large projects by batching build processes and utilizing multi-threading.

Key Highlights

  • Fixes Out of Memory (OOM) errors when exporting projects with many templates.
  • Batches esbuild builds into groups of 10 entry points.
  • Runs render phase in batches of 25 templates using `worker_threads`.
  • Reclaims V8 isolate memory between batches to prevent memory leaks.

New Features

  • Optimized memory management for large-scale template exports

Full Release Notes

### Patch Changes

* 1a61cb0: Avoid OOM when running `email export` on projects with many templates. esbuild builds now run in batches of 10 entry points, and the render phase runs each batch of 25 templates inside a `worker_threads` worker so V8 isolate memory is reclaimed between batches.