
Resend Has a Free API That Makes Sending Emails From Code Actually Pleasant
Resend is the email API built for developers. No SMTP configuration, no complex templates — just a clean REST API and React Email components. Send an Email: One API Call import { Resend } from " resend " ; const resend = new Resend ( process . env . RESEND_API_KEY ); const { data , error } = await resend . emails . send ({ from : " hello@yourdomain.com " , to : " user@example.com " , subject : " Your scraping report is ready " , html : " <h1>Report Complete</h1><p>1,234 records extracted.</p> " , }); console . log ( data . id ); // Email ID for tracking React Email: JSX Templates import { Html , Head , Body , Container , Text , Button , Img , Section , Hr } from " @react-email/components " ; export function ScrapingReport ({ data }) { return ( < Html > < Head /> < Body style = { { fontFamily : " sans-serif " , background : " #f4f4f5 " } } > < Container style = { { background : " white " , padding : " 24px " , borderRadius : " 8px " } } > < Img src = "https://yourlogo.com/logo.png" widt
Continue reading on Dev.to React
Opens in a new tab



