Solo Web Dev Ditches EmailJS for Resend and React Email on Contact Form
A solo web designer running a one-person agency replaced EmailJS on their contact form with Resend, a transactional email API, citing concerns over client-side API key exposure and reliance on third-party rate limits. EmailJS operates entirely in the browser using a public key, which the developer considered a security and reliability risk for a client-facing business. The new setup uses Resend paired with React Email, keeping the API key server-side and allowing email templates to be built as React components that compile to email-safe HTML. A key technical hurdle was that plain Node.js cannot parse JSX files, which was resolved by running the server through tsx, a tool that transforms JSX on the fly using esbuild. Resend's sandbox mode, which restricts delivery to the account owner's email before domain verification, allowed end-to-end pipeline testing without modifying DNS records.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in