Send email with Resend
1. Install dependencies
Get the @vuemaildev/vuemail package and the Resend Node.js SDK.2. Create an email using Vue
Start by building your email template in a.vue file.
email.vue
3. Convert to HTML and send email
When integrating with other services, you need to convert your Vue template into HTML before sending, which is what
render does.Set up Templates with Resend
Resend Templates are a great way to collaborate on emails with your team, even if they’re not technical. Upload a Vuemail template to Resend and your entire team can collaborate in real-time in the visual editor. Here’s how to get started.1. Add your Resend API Key
First, sign up for a free Resend account. Next, set up the Resend integration using the Vuemail CLI:2. Upload a Template to Resend
Runemail dev and visit the Resend tab of the toolbar, located at the bottom of the window.
Choose Upload or Bulk Upload to import your Template to Resend.
If you want to remove the Resend integration, run npx @vuemaildev/vuemail@latest resend reset.
Try it yourself
Resend example
See the full source code.