Referral program email template
Referral launch email that explains the reward and makes sharing easy.
- When to send it
- After a good experience, such as a delivered order or a solved ticket.
- What to put in it
- What the friend gets, what the sender gets and a link they can share.
- Subject lines to try
- “Give 20%, get 20%” or “Share with a friend, you both save”
- Avoid
- Burying the reward. Say what both people get in the first line.
- Good for
- referrals and other customer lifecycle moments
- Built from
- 5 blocks in 3 rows: Heading, Text, Countdown timer, Animated GIF, Button
- Yours to change
- Every block, color and line of text is editable. Your app reads the finished design as email HTML. See how templates work in the docs.
Use it in your React app
A template is a design JSON document, not a React component. Your users find this one in the editor's Template Library (Body, Templates, Open Library). To start a user from a design in your own code, load it when the editor is ready, then read it back with exportHtml and render it on your server. The Free plan covers this whole loop.
import EmailEditor, { type MailkaroIframeEditorRef } from "react-email-craft";
import { useRef } from "react";
// design: a design JSON document, for example one you saved from the editor
export function Designer({ design }) {
const ref = useRef<MailkaroIframeEditorRef>(null);
return (
<div style={{ height: "100vh" }}>
<EmailEditor
ref={ref}
token="pk_live_your_publishable_key"
onReady={() => ref.current?.editor.loadDesign(design)}
/>
</div>
);
}React email templates: code components or a visual editorBuild a React email builderA free Unlayer alternativeQuick start in the docs