Skip to content

Theryston/jsx-mail

Repository files navigation

featured

JSX Mail is an innovative and efficient framework for creating email templates using JSX syntax. Designed for high compatibility and ease of use, this framework offers a modern approach to developing responsive and attractive emails.

Why JSX Mail

Automatic Image Optimization and Hosting

With JSX Mail, you don't have to worry about image hosting or optimization. It will automatically optimize and upload the image to JSX Mail Cloud. You can also configure your own S3 very simply.

In the end, JSX Mail allows you to use an image in your email template in the same way as you do on the front-end with React. Here is a code example:

image-use

onRender Function

Export an asynchronous function with the name onRender and it will run whenever your email template is rendered. This is ideal for performing database queries or other dynamic operations. Here is a code example:

image

Preview

With JSX Mail you can see all the changes made to your email template in real time! Just type jsxm preview in your terminal and it will make a preview of all your email templates available at: http://localhost:3256

High Compatibility

Every JSX tag and CSS property in JSX Mail is meticulously crafted to ensure full compatibility with the most popular email clients. This eliminates concerns about display issues across different platforms.

No React Dependency

JSX Mail has its own JSX runtime and does not rely on frameworks like React. This ensures greater security as each element is created and tested specifically for compatibility with email clients.

Ease of Use

The adoption of the popular JSX syntax makes JSX Mail extremely easy and intuitive to use, even for those new to email development.

Componentization

Just like React and other front-end frameworks, JSX Mail allows the use of separate components for each part of your email template, providing better organization and code reusability.

Get Started Now

Ready to transform the way you develop emails? Visit our website for more information and start creating amazing email templates today!

Documentation

For a deeper understanding of all features and how to make the most of JSX Mail, check out our complete documentation.


JSX Mail: Simplifying email development with technology and innovation.