Skip to content

React Email Client

Tahmid Ahmed edited this page Jan 15, 2026 · 5 revisions

Intro

ReactEmailClient.java is the wrapper that allows the backend to use React Email templates.

Implementation

  1. ReactEmailClient will load the classpath HTML resource into a string.

  2. This will then be passed into JSoup so we can use DOM operations to insert our variables into the template.

  3. Once complete, we will then return the modified template back as a string.

Examples

Clone this wiki locally