Email: preview
email_previewRender a draft email subject and body with sample data and optional wrapper, returning HTML for review before updating templates or shell. Nothing is saved or sent.
Instructions
Render uncommitted subject + content + optional wrapper, print HTML. Renders a draft subject and body with sample data, inside a draft shell if given or the project's current one otherwise, and returns the HTML. Nothing is saved and no email is sent. Use it to check edits before email_templates_update or email_shell_update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | Path to file containing content (or '-' for stdin) | |
| subject | No | Subject line to render (defaults to 'Preview') | |
| wrapper | No | Optional path to a wrapper HTML override (or '-' for stdin) | |
| content_text | No | The content to render, passed inline | |
| wrapper_text | No | Optional wrapper HTML override, passed inline |