Skip to content

[Feature] @json-render/react-email — Email renderer using React Email #152

@lucianfialho

Description

@lucianfialho

Summary

json-render already has renderers for web (React), mobile (React
Native), PDF (React PDF), and video (Remotion). I'd like to propose
adding an email renderer using
@react-email/components.

Motivation

  • Emails are a natural fit — they're static like PDFs, and React Email
    is already React-based
  • Real use case: AI generates personalized emails from natural
    language prompts
  • Follows the exact same pattern as @json-render/react-pdf
    (tree-based spec, server-side render output)
  • Completes the ecosystem: web, mobile, PDF, video, and now email

Proposed Design

Package: @json-render/react-email

Components (mapped from @react-email/components):

  • Structure: Html, Head, Body, Container, Section, Row, Column
  • Content: Heading, Text, Link, Button, Image, Markdown
  • Utility: Hr, Preview, Font

Server export: renderToHtml(spec, options) — using render()
from @react-email/render

Spec format: Flat element tree (same as react-pdf and
react-native)

No state/interactivity — emails are static output, just like PDFs

I'm happy to implement this

I've studied the existing renderer packages and understand the
patterns (schema, catalog, catalog-types, renderer, standard
components, server exports). Would love to contribute this if there's
interest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions