EmailTemplateUpdateInput
Email template update data with email-specific configuration.
Extends base template update functionality with email-specific fields including subject lines, sender information, recipients, and attachment handling. All fields are optional for partial updates.
input EmailTemplateUpdateInput {
names: [LocalizedStringInput!]
contents: [LocalizedTemplateContentInput!]
customQuery: String
queryVariables: String
subjects: [LocalizedStringInput!]
from: EmailSenderInput
tos: [EmailContactInput!]
ccs: [EmailContactInput!]
bccs: [EmailContactInput!]
}
Fields
EmailTemplateUpdateInput.names
● [LocalizedStringInput!]
list input
Updated localized template names for different languages.
Human-readable names for the template in various languages, used for template identification and management in multilingual environments.
Validation: When provided, array must not be empty and must contain unique language entries.
EmailTemplateUpdateInput.contents
● [LocalizedTemplateContentInput!]
list input
Updated Handlebars template content for each supported language.
The actual template markup using Handlebars syntax for dynamic content generation, stored per language for localization support.
Validation: When provided, array must not be empty and must contain unique language entries.
EmailTemplateUpdateInput.customQuery
● String
scalar
Updated GraphQL query for additional data enrichment.
Custom query executed before template rendering to fetch supplementary data not included in the original event payload, enabling rich template content with external data sources.
EmailTemplateUpdateInput.queryVariables
● String
scalar
Updated variables for custom GraphQL query execution.
JSON object containing variables used in the custom query, supports Handlebars expressions for dynamic variable generation based on event data. Only valid when customQuery is provided or already exists.
EmailTemplateUpdateInput.subjects
● [LocalizedStringInput!]
list input
Updated localized email subject lines with dynamic content support.
Email subject text for each language with Handlebars variable support for personalized subject lines based on recipient and context data.
Validation: When provided, array must not be empty and must contain unique language entries.
EmailTemplateUpdateInput.from
● EmailSenderInput
input
Updated email sender contact information.
Sender details including email address and display name used in the 'From' field of outgoing emails, supporting localized sender names for multilingual communications.
EmailTemplateUpdateInput.tos
● [EmailContactInput!]
list input
Updated primary email recipient contact information.
List of primary recipients who will receive the email in their main inbox, visible to all recipients. Supports multiple identification methods including direct email addresses and system user references.
Validation: When provided, array must not be empty and must contain unique entries.
EmailTemplateUpdateInput.ccs
● [EmailContactInput!]
list input
Updated carbon copy recipient contact information.
List of recipients who will receive a copy of the email, visible to all recipients in the 'CC' field for transparency. Useful for keeping stakeholders informed.
Validation: When provided, array must not be empty and must contain unique entries.
EmailTemplateUpdateInput.bccs
● [EmailContactInput!]
list input
Updated blind carbon copy recipient contact information.
List of recipients who will receive a copy of the email without being visible to other recipients, maintaining privacy while ensuring necessary parties are informed.
Validation: When provided, array must not be empty and must contain unique entries.
Member Of
emailTemplateUpdate
mutation