Email UI
Browse complete, email-safe templates by the job they need to do.
Start with a real email, see the rendered result, then copy the TSX into src/ui/email. Every example uses the same small set of Email SDK React components and works with any adapter after rendering.
Account
Sign-in, recovery, and workspace access.
Product
Activation, retention, and product limits.
Commerce
Payments, invoices, and money movement.
Add a template
Open any template above and run its registry command. The command adds the email component to src/ui/email and installs Email SDK, React Email, and React dependencies when they are missing.
bunx shadcn@latest add https://email-sdk.dev/r/verification-code.jsonThen render the installed component with renderEmail and pass the returned html and text through your normal Email SDK client.
import { renderEmail } from "@opencoredev/email-sdk/react";
const content = await renderEmail(<WelcomeEmail name="Ada" />);
await email.send({
from: "Acme <hello@acme.com>",
to: "ada@example.com",
subject: "Welcome to Acme",
...content,
});Routing, retries, fallback, scheduling, hooks, and telemetry still use the normal send pipeline.
