Prerequisites
Before you begin, make sure you have:- A Lettr account — sign up at app.lettr.com
- An API key created in your dashboard
- A verified sending domain
- Node.js 18 or higher
Choose Your Framework
Next.js
Send emails from Next.js API routes and server components
Nuxt
Integrate Lettr with Nuxt server routes
Direct API Usage
For any Node.js application, you can send emails directly via the REST API usingfetch: