1. Installation
Install the Nuxt module:nuxt.config.ts
:
.env
:
2. Send your first email
Client-side (Composable)
Use theuseLettermint
composable in your Vue components:
Server-side (API Routes)
Send emails from your server API routes:3. Email Features
Basic Email with HTML and Text
Multiple Recipients
Send to multiple recipients using CC and BCC:Custom Headers and Reply-To
Add custom headers and set reply-to addresses:Metadata
Add metadata for tracking and webhook payloads:Metadata is included in webhook payloads but not added to the actual email headers. Use it for tracking and analytics purposes.
Tags
Use a tag to categorize your emails:File Attachments
Attach files to your emails:GitHub Repository
Find the complete source code, report issues, or contribute on GitHub.