CEOInterviews.AI
Start App
Get an email when Zeno Rocha gives a new interview
One email per new interview. Unsubscribe in one click.
Zeno Rocha
Co-founder & CEO, Resend

Modern emails using React

📅 Jan 07, 2026 React Conf 11 MIN 12317 VIEWS 22 SEGMENTS · 1 SPEAKERS
https://conf.react.dev/ Zeno Rocha, Founder & CEO @ Resend GitHub: https://github.com/zenorocha X:   / zenorocha   LinkedIn:   / zenorocha   Company: https://resend.com/ Blog: https://zenorocha.com/ This talk was given at React Conf 2025, co-hosted by Meta (https://www.meta.com) and Callstack (https://www.callstack.com/). See more React Conf 2025 talks here: https://conf.react.dev/ Thank you to React Conf 2025's sponsors: 🏆 Platinum Sponsor Amazon: https://www.developer.amazon.com/ 🥇 Gold Sponsors AG Grid: https://www.ag-grid.com/ MUI: https://mui.com/ Resend: https://resend.com/ RevenueC...
Zeno Rocha 0:16 ↗
Hello everyone. How's everyone doing? Good. We can do better than this, right? This is React Conf. How's everyone doing? [cheering] Yikes. Okay. Today we're going to be talking about how to build modern emails using React.
It seems like we're all thinking the same things recently, right? Like what browser should I use? It seems like every single day there's a new browser coming out. And although it may seem hard or difficult to choose, I actually think this is great. You know, more options. I remember when I started building software, there was just one single browser.
This one, if you remember IE6, that was the browser that you would build your websites and you would test and you would try to make it work. And then of course there are a few others that were a little bit smaller like Firefox and Safari and Opera.
But to build a website that would work the same for every single browser was really difficult. You would have to use these super ugly prefixes and all these sort of polyfill JavaScript libraries. So it was not a great experience at all. You would go to websites like Can I Use and you would have to search every single feature to make sure that it works well in that browser that you're targeting.
Well, we don't live in that world anymore, right? We build one website now. It works everywhere and it's beautiful. And I thought that was the case for everything that was web related until one day, until the day that a designer on my team sent me this Figma file and he asked me, "Hey, can you build this? We need this email template." And yeah, here's the file.
So, it's not a super complex template, right? You have some columns and you have some padding going on, a button, all that. But I quickly realized as I was building this that, you know what, SVG actually doesn't work on email and border radius, good luck, also doesn't work. Yeah, right, it drives you crazy. And you have to go to canemail.com, for example, to look at those compatibility checkers. So to create an email that will look the same on Gmail and Yahoo Mail and Outlook and Apple Mail, not only the old email clients, but the new ones, too. Superhuman, hey, Notion Mail. It's still extremely painful.
So, as a developer, I just thought, you know what? I'm sure someone fixed this problem. So let me just look around. I'm sure there's an open source project for that. So, I found this one. And this was a really great tagline. You know, it would help me build responsive emails. So, I went to their GitHub repo and I found that the last commit was 7 years ago. So, I'm like, okay, maybe not that one. And then I found MJML, which seemed really promising. And then I look at the docs and it was pretty outdated. The whole experience seemed really outdated.
So, decided to, you know what, let me see if I can solve that problem once and for all. There's so many great technologies today. Let me try to fix that with those. So as an engineer, what do you do when you have an idea? You buy a domain and then you tweet about it. So that's what I did. I said, "Hey, I'm building a new side project. There was no website. There was nothing there. Check it out. React Email."
And of course the first reaction was, "But why?" [laughter] And that's actually a valid question. Why? I feel like side projects are amazing because they can combine the things that you're really interested in, the skills that you want to learn. And that's where I was back then. I wanted to combine React with this new email world that I was not used to.
So, let's kind of build a template together here with React Email. And we're going to take this Stripe email template as a reference. It just looks great. Everything that Stripe does looks great, right? So, let's use that as an example. So, we're going to do three things here. We're going to code that email template. Then, we're going to test it. And then, we're going to send it. Those are the three things. So, let's start with coding.
Well, the cool thing about React Email, it has this create email package that generates all the files for you. So, we're going to get started with that. And this will generate this package.json with React Email as a dev dependency and also this email CLI that I can use. And once I run this on my local server, I get this localhost 3000 URL and I have this environment where I can build my email template. So, this is good. It's a good first step, but I still don't have an email template. So let's start coding that.
So the same way that Redux has those unstyled components, React Email comes with that too. So you have body, container, and sections and buttons and you can just import those components and start using. So here we're going to just style them using CSS.
So we're going to do like a background color container as well. Let's create some margins and align to the center. And this is what we have now. So, nothing too impressive, but it's a start. Oops. Okay.
So, let's keep adding. So, we're going to add a section with an image with a line break and some paragraphs. We're going to continue styling using CSS. And now we have something. So this email looks great. But no one really writes vanilla CSS these days, right? We all love Tailwind. So what if we could add Tailwind to the game? So here's a Tailwind component and with a body and we can just use Tailwind classes. So that's much better.
But we don't also use vanilla JS anymore. That's at least what I'm seeing. TypeScript is everywhere. So, why not create some variables? Some are optional, some are not. And we can just use those variables in our email template. And we can fail the build if those variables are not there. So, this is super cool. The power of Tailwind, the power of React, and the power of TypeScript on your email.
So, let's start testing that. Here I'm going to go to the local environment. And the cool thing about React Email is that you can toggle between the different mobile and desktop views and you can send a test email right from this environment. So once you send that test email you can see that on your inbox and you can send to Apple Mail and see how that renders. You can go to Gmail and see how that renders. You can go to Outlook and it looks the same. How beautiful is that with React, with Tailwind?
But what about broken links, right? Super common when you're building a template, you go and then sometimes you might miss an href. So, here we have a button with an invalid href. So, we can tweak that and then go to this linter and you can see here in the bottom that this link is broken because of an invalid syntax. So, we can go ahead and fix that.
But actually, let's use a broken link again. So, this is a URL that doesn't exist. This is going to return a 404. And the cool thing about this linter, once we run it again, is that it's going to show that there was a fetch attempt, but it returned a 404. So when we go and then we fix to an actual link that exists and run it again, it passes. So there are other tools here like compatibility matrix and spam checker and this is super useful.
Now we're ready to send. So we have the template, we tested. So React Email comes with this util function called render. So we can just import the function and then pass the component and then you get a plain HTML file. This is compatible with any service that accepts HTML. So you can use whatever you want. But my dream DX would be importing the component and then just calling and using that React component with all the parameters that I want to use.
So why not create a better email API too? So again I bought a domain and I just tweeted about it. Hey, I'm starting Resend. First reaction was slowest landing page I've seen in 2023, but it's been a long time since 2023. Resend is now used by Warner Brothers and HBO Max and so many great companies. There are more than 500,000 users. Some of you are actually here. Resend recently raised more than $18 million last year. And when I... Thank you. [applause] Okay.
When I look back at this, I think about, you know, I could have just had that idea for that side project and not done anything or had an idea for this email API and just said, you know what, next week I can make it or tomorrow I can make it. But if you have an idea, if you're listening to this online or if you're here, I highly suggest you, I highly encourage you to just start something. Make that first commit, make that first git push, and see what happens.
If you're here at the conference, we have a booth. Come, please say hi. If you're watching this online, hello. We're actually dropping a new React Email website to celebrate that we are here. This is a sneak peek. It's going live tomorrow. And yeah, thank you so much. [applause]

Cite this transcript

APA, MLA, BibTeX
APA

Rocha, Z. (2026, January 7). Modern emails using React [Interview transcript]. React Conf. CEOInterviews.AI. https://ceointerviews.ai/interview/3249874/

MLA

Zeno Rocha. "Modern emails using React." React Conf, 7 Jan. 2026. Transcript, CEOInterviews.AI, https://ceointerviews.ai/interview/3249874/.

BibTeX
@misc{rocha2026_3249874,
  author       = {Zeno Rocha},
  title        = {Modern emails using React},
  howpublished = {Interview transcript, React Conf. CEOInterviews.AI},
  year         = {2026},
  month        = {jan},
  url          = {https://ceointerviews.ai/interview/3249874/},
  note         = {Speaker-attributed transcript with timestamps}
}