Send Email
horizon_send_emailSend transactional emails to registered horizOn users via your SMTP server using preconfigured templates, with optional scheduling up to 30 days ahead.
Instructions
Sends a transactional email to a registered horizOn user using a pre-configured template. The email is sent through the developer's own SMTP server. Optionally schedule delivery for a future time (up to 30 days ahead).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | horizOn user ID of the recipient | |
| language | Yes | ISO 639-1 language code for template rendering (e.g. 'en', 'de') | |
| variables | Yes | Template variable values as key-value pairs (e.g. {"username": "John"}) | |
| scheduledAt | No | ISO 8601 timestamp for scheduled delivery. Omit to send immediately. | |
| templateSlug | Yes | Slug of the email template (e.g. 'welcome', 'reminder') |