Interface: EmailTemplate
Defined in: type/EmailTemplate.ts:9
Object class for EmailTemplate
Properties
attachments?
optionalattachments?:DocumentTemplate[]
Defined in: type/EmailTemplate.ts:41
DocumentTemplates to attach to the email
bccs?
optionalbccs?:EmailContact[]
Defined in: type/EmailTemplate.ts:39
BCC EmailContacts for the email
ccs?
optionalccs?:EmailContact[]
Defined in: type/EmailTemplate.ts:37
CC EmailContacts for the email
content?
optionalcontent?:string
Defined in: type/EmailTemplate.ts:17
The content of the template
contents?
optionalcontents?:LocalizedTemplateContent[]
Defined in: type/EmailTemplate.ts:13
Uploaded handlebars template content, per given language
createdAt
createdAt:
string
Defined in: type/EmailTemplate.ts:23
The creation date of this Template
createdBy?
optionalcreatedBy?:number
Defined in: type/EmailTemplate.ts:27
ID of the user who created this Template
customQuery?
optionalcustomQuery?:string
Defined in: type/EmailTemplate.ts:19
GraphQL query to be executed before rendering the template to fetch additional data not in the original event payload.
from
from:
EmailSender
Defined in: type/EmailTemplate.ts:33
From EmailContact for the email
id
id:
string
Defined in: type/EmailTemplate.ts:11
A unique identifier for the template
lastModifiedAt
lastModifiedAt:
string
Defined in: type/EmailTemplate.ts:25
The last modified date of this Template
lastModifiedBy?
optionallastModifiedBy?:number
Defined in: type/EmailTemplate.ts:29
ID of the user who last modified this Template
names
names:
LocalizedString[]
Defined in: type/EmailTemplate.ts:15
The name of the template per given language
queryVariables?
optionalqueryVariables?:string
Defined in: type/EmailTemplate.ts:21
Variables that are use in the custom query, can use handlebars variables. Has to be a valid JSON string after rendering
subjects
subjects:
LocalizedString[]
Defined in: type/EmailTemplate.ts:31
Subject for the email per given language, supports handlebars variables
tos?
optionaltos?:EmailContact[]
Defined in: type/EmailTemplate.ts:35
To EmailContacts for the email