Launch

Your welcome email can just be a React component now.

By Gabe LG

https://mailkite.dev mailkite 0.20.0 is out for Node, Python and PHP. In Node, MailKite renders your React component and derives the plaintext version from that same component, so there's no second copy of the email to keep in sync every time someone rewrites a sentence. That's the whole send: import { MailKite } from "mailkite"; import { Welcome } from "./emails/welcome"; const mk = new MailKite(apiKey); await mk.send({ from: "hello@yourapp.com", to: "ada@example.com", subject: "Welcome aboard", react: , }); Save it once and that design becomes a reusable template your sequences, your broadcasts and your Python and PHP services can send too. Prefer plain HTML in your repo? Point the library at the file and send it — drop a text version beside it and that becomes the plaintext part on its own. Merge tags still fill in per recipient, however the email was authored. No upload step, no build pipeline, no mail server to run. Free while you're building: unlimited domains, 5,000 emails a month, no credit card. Start at https://mailkite.dev — the how-to lives at https://mailkite.dev/docs/sending

Reactions
0
Comments
1
Shares
0

Public discussion

Uriel Bitton

this is really cool for devs, nice !

Browse more founder updates