Installation
Set up your API key
Get your API key from Plunk and add it to your environment variables:
Usage
Create an email component
emails/email.tsx
Send the email
index.tsx
Advanced features
From name and email
Reply-to address
Headers
Subscribed status
Automatically update the contact’s subscribed status:Error handling
Important notes
- Module compatibility: Due to a module compatibility issue, you need to use the
.defaultworkaround shown above - Domain verification: Verify your sending domain in the Plunk dashboard
- Simple API: Plunk has a straightforward API designed for ease of use