react-email@6.5.0

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

AI Summary

Enhanced development workflow by adding CLI flags and environment variables to filter compatibility warnings and improved accessibility defaults for core components.

Key Highlights

  • Added `--clients` CLI flag and env var to filter compatibility warnings
  • Improved accessibility defaults (dir, lang, alt, role) for Body, Img, and Markdown components
  • Allows teams to target specific clients (e.g., Outlook) to reduce warning noise

New Features

  • Client compatibility filtering
  • Accessibility defaults for components

Full Release Notes

### Minor Changes

* 3875d2a: add a `--clients` option to `email dev` and a `COMPATIBILITY_EMAIL_CLIENTS` environment variable to narrow which email clients trigger compatibility warnings. By default the preview still warns for `gmail`, `apple-mail`, `outlook`, and `yahoo`. Teams that only target one or two clients can now skip the noise: `email dev --clients outlook,apple-mail`. The CLI flag wins over the env var; an empty or fully-invalid list falls back to the defaults so warnings can't be silently switched off. Builds on #2797 by @ReemX.

### Patch Changes

* d47825a: Add accessibility defaults to components: `dir`/`lang` on `Body`, an empty `alt` fallback on `Img`, `role="presentation"` on the `Markdown` table, and a `<title>` from `Preview`.