email_send
Last edit: Oct 13, 2026
Schedules an email to be sent in a background job, either rendered from an
email template defined in app/emails (template) or with the given content
(email). When template is given, email is ignored. The template's own delay
setting applies. Raises an error when the template does not exist
email_send(
data: HashObject
email: NotificationEmailInput
template: NotificationTemplateInput
): NotificationSendEmailPayload
Arguments
data (HashObject)
Variables available in the Liquid of the template as data; used only with template
email (NotificationEmailInput)
Email to send without a template; required when template is not given
template (NotificationTemplateInput)
Email template defined in app/emails to render and send
Type
NotificationSendEmailPayload
Autogenerated return type of NotificationSendEmail.