generate_test_email
Generates a test email object by rendering a template with project settings and the recipient's address.
def generate_test_email(
email_to: string
) - > EmailData
Generates a test email object containing a rendered HTML body and a project-specific subject line for verification purposes.
Parameters
| Name | Type | Description |
|---|---|---|
| email_to | string | The recipient email address used to populate the template context. |
Returns
| Type | Description |
|---|---|
EmailData | An EmailData object containing the rendered HTML content and the formatted subject string. |