Skip to main content

EmailTemplate

Represents an email template used for automated or manual email communication.

type EmailTemplate implements Timestamped {
body: String!
createdAt: DateTime!
state: EmailTemplateState!
subject: String!
trigger: EmailTemplateTrigger
updatedAt: DateTime!
}

Fields​

EmailTemplate.body ● String! non-null scalar common​

The body content of the email generated by this template.

EmailTemplate.createdAt ● DateTime! non-null scalar common​

The date and time that the object was created.

EmailTemplate.state ● EmailTemplateState! non-null enum common​

The current state of the email template, indicating whether it is enabled or disabled.

EmailTemplate.subject ● String! non-null scalar common​

The subject line used for the email generated by this template.

EmailTemplate.trigger ● EmailTemplateTrigger enum common​

The event that triggers the use of this email template, such as a new ticket notification.

EmailTemplate.updatedAt ● DateTime! non-null scalar common​

The date and time that the object was last updated.

Interfaces​

Timestamped interface common​

An object with timestamp fields for when it was created and last updated.

Member of​

DemoEmailChannel object ● EmailChannel object ● EmailInterface interface