render_email_content
Render EmailContent JSON into HTML for preview and post-processing, producing the exact HTML the API would send.
Instructions
Compile an EmailContent JSON object (the shape used by the Send16 builder + templates) into HTML using the platform's authoritative renderer. Returns the exact HTML the API would send. Useful for previews and post-processing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | Send16 API key (overrides SEND16_API_KEY env var) | |
| content | Yes | EmailContent JSON (from get_template or the builder) | |
| variables | No | Variable replacements (e.g. {firstName:'Alice'}) |