react-email@6.5.0

vietnh1009/ASCII-generatorreact-email@6.5.0May 27, 2026by github-actions[bot]

AI Summary

Includes the client compatibility filtering feature and introduces accessibility defaults for components such as Body, Img, and Markdown tables.

Key Highlights

  • Added dir/lang attributes to Body component for accessibility.
  • Added empty alt fallbacks to Img components.
  • Added role='presentation' to Markdown tables.
  • Added title from Preview.
  • Compatibility filtering via CLI and env var.

New Features

  • Accessibility improvements to components
  • Compatibility warning customization

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`.