Learn how to send your first email using Astro, Resend, and Node.js.
.env file to keep your API key secret.
actions/index.ts.
The easiest way to send an email is with the html parameter.
send action from any frontmatter route, script, or component.