A sneak peek into how the emails for Next.js Conf and Vercel Ship are built.
Vercel runs two conferences every year: Vercel Ship and Next.js Conf.
This year, Vercel started using React Email for Vercel Ship and continued for Next.js Conf. We met with John Phamous, the Lead Design Engineer at Vercel, to learn how the Vercel team used React Email to streamline email template development.
React Email is an open source framework that enables developers to create responsive and elegant email templates using React components.
It leverages the familiar JSX syntax to streamline the design and development of consistent email layouts. It also ensures compatibility across different email clients, making it easier to maintain uniform styles.
Before React Email, the team used email templates with HTML strings that had to be manually updated for each conference and email type.
New team members working with John on the conference had to be onboarded to learn how the email template worked and how to edit it.
A simple change like changing a URL became a hassle with the previous template. Implementing the great design and branding Vercel is known for became a challenge.
"We could seamlessly onboard new teammates on the email templates using React development workflows they were already familiar with. A developer could take the same mental models of working on the frontend of Vercel to their email design."
Starting with Vercel Ship this year, John and his team used React Email to manage their email templates. The emails were designed in Figma, and the team implemented them seamlessly utilizing the React framework. With the Next.js Conf coming up in October, John used the same reliable process.
A: Using React Email helped avoid single ownership of conference emails. Instead of reading three pages of internal documentation to make a single change, we could seamlessly onboard new teammates on the email templates using React development workflows they were already familiar with. A developer could take the same mental models of working on the frontend of Vercel to their email design.
I especially liked how the team could use components to reuse common patterns like headers and footers across their emails. Previously, we would have to copy/paste each common pattern into each HTML string for each email.
The team was able to set ticket types, such as virtual
or in person
, within the email template.
Then, the could format the email differently based on which ticket they were, all using the same email template logic.
The resulting email was then customized to the recipient.
If you're already familiar with React Email, you might want to see what was released in the new major version.
React Email 3.0
An entire collection of pre-built components with a much faster development experience.
resend.com/blog/react-email-3
If you haven't used React Email yet, take a look at the documentation.