See an app's emails beside their code in Files
Open an email in web/emails/ in Files and the email it sends shows beside the code at phone width, rendered by the app's development server from the saved file, so it's what gets sent. Save and it renders again. Switch between light and dark and between HTML and the plain-text part, and Send test mails it to you or a teammate.
The preview uses each email's PreviewProps as its sample, and layout.tsx, which every email shares, previews with whichever one you pick. Dark shows the email as mail apps with dark mode do. A test goes through the environment's own Resend with [Test] in its subject, or to Logs when there's no Resend, and only to people on your team.
New web apps and the Waitlist, Class booking and Slack and Discord bot recipes keep their emails in web/emails/. A development server started before today shows the preview once a file in web/emails/ is saved.
More in Sign-in for web apps.