nevent_send_test_template
Send a test email of the template to one or more email addresses via SES. Use after nevent_preview_template validates rendering. Test emails carry test indicators in headers and are sent via AWS SES. This call may take up to 60 seconds due to SES delivery. Returns success status, list of recipients the email was sent to, and any error details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | Yes | List of email addresses to send the test email to. Each entry must be a valid email address. Minimum 1, maximum 10 recipients. Example: ["qa@example.com", "dev@company.com"]. | |
| subject | No | Optional subject line for the test email. Omit to use the default subject from the template. | |
| parameters | No | Optional custom parameters for merge-tag substitution in the test email. Key-value pairs where keys match merge tag names. Example: {name: "Juan", city: "Madrid"}. When provided, overrides sample user profile data for the corresponding tags. | |
| template_id | Yes | The ID of the email template to send as a test. Use nevent_list_templates to discover valid template IDs. | |
| sample_user_id | No | Optional user ID for merge-tag personalization in the test email. When provided, {{name}}, {{email}} and custom fields are resolved from this user's profile. Takes priority over sample_user_email. | |
| sample_user_email | No | Optional user email within the active tenant for merge-tag personalization. Ignored when sample_user_id is also provided. |