Send SPAM with React and MDX through Email

software-development
typescript
Talk Information
Details about this presentation

Details

Length:
45 minutes
Difficulty:
Advanced

Events

Codemotion Madrid
2026-04-17
React Summit
2026-06-12
Commit Conf
2026-06-06

Notes

This talk might look like a SPAM email and that's because it is! I designed this talk to be engaging, the presentation itself is going to be website that looks like an email client and each slide is going to be an email. How cool is that? https://react-mdx-newsletter.vercel.app/ This talk will showcase how I built a newsletter using MDX (https://mdxjs.com/), which is a great format for authoring content. When I started my newsletter (https://cesalberca.com/newsletter) I wanted to use this format, and to my surprise I couldn't find anyone doing something similar, so I built my own system with React Email and Resend (https://resend.com/). Although I will mention my newsletter at the end, this is not the typical talk where I just want to get followers for my newsletter, I just want to show you how I built it, since it took my some time and I learned a lot in the process. Some of my main learnings were how to render different components depending if you are viewing the email in a browser or in an email client, how I use CI/CD to schedule the emails and how different email clients render emails.

Hello, dear friend,

I trust this message reaches you in excellent spirits. I write to you not only as a humble developer, but as the sole surviving heir of an ancient lineage of engineers whose wisdom has been carefully safeguarded through centuries.

With great urgency, I invite you to transfer a modest administrative fee to the secure digital vault. In return, you shall gain access to an extraordinary fortune of technical insight. This privileged knowledge includes the steps required to craft a complete Newsletter system using React and MDX, as well as the instructions needed to dispatch your first email with Resend.

Your generous cooperation will open the gates to revelations about the Newsletter Architecture, rendering emails on the web, layout traps in different email clients, automation with CI/CD, and those unsuspecting details that have bankrupted many brave developers before you.

I remain eternally grateful for your imminent collaboration.