Email Renderer API

This service renders and sends emails using React Email templates via AWS SES.

Available Endpoints

Email Templates

Preview email templates at: /preview

API Usage

Authentication

API requests require authentication via API key. Include your API key using one of these methods:

Send Email Example

POST /api/send-email
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY

{
  "sender": {
    "email": "sender@example.com",
    "name": "Sender Name"
  },
  "recipient": {
    "email": "recipient@example.com", 
    "name": "Recipient Name"
  },
  "template": "notion-magic-link",
  "variables": {
    "loginCode": "abc-123-def"
  },
  "subject": "Your login code"
}