Write Beautiful Email Templates in React

Example Email

Example Code

It was incredibly simple to create that email. You can find the code here but since it's so short, I'll just include it here:
import { 
  MjmlText,
  MjmlButton,
} from "@luma-team/mjml-react";

import { BaseEmail } from "./BaseEmail";

export const SimpleEmail = () => {
  return (
    <BaseEmail>
      <MjmlText>
        <p>
          Dear Mr. Pontis,
        </p>

        <p>
          Here is a very simple email with a button.
        </p>
      </MjmlText>

      <MjmlButton href={"https://lu.ma"} align={"left"}>
        Click Me!
      </MjmlButton>
    </BaseEmail>
  );
};

Test It Out

You can test this out by creating a Postmark account and pasting your server's API Key below.

Your Postmark API Token
Send Preview To