Flash sale email template
Urgency-led promo with countdown, motion, and a direct CTA.
- When to send it
- For a sale that really ends soon, usually within 24 to 48 hours.
- What to put in it
- The discount in the headline, an end time the countdown shows, and one button.
- Subject lines to try
- “30% off ends tonight at midnight” or “Last 12 hours: the sale closes soon”
- Avoid
- A countdown to a deadline that quietly moves. Readers notice, and the next sale loses its pull.
- Good for
- sales, launches and limited-time offers
- 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