Customize outgoing emails with dynamic template expressions
{{ .Recipient.FullName }}
. These expressions reference fields from the conversation, contact, recipient, and author objects.
Variable | Value |
---|---|
{{ .Conversation.ReferenceNumber }} | The unique reference number of the conversation |
{{ .Conversation.Subject }} | The subject of the conversation |
{{ .Conversation.Priority }} | The priority level of the conversation |
{{ .Conversation.UUID }} | The unique identifier of the conversation |
Variable | Value |
---|---|
{{ .Contact.FirstName }} | First name of the contact/customer |
{{ .Contact.LastName }} | Last name of the contact/customer |
{{ .Contact.FullName }} | Full name of the contact/customer |
{{ .Contact.Email }} | Email address of the contact/customer |
Variable | Value |
---|---|
{{ .Recipient.FirstName }} | First name of the recipient |
{{ .Recipient.LastName }} | Last name of the recipient |
{{ .Recipient.FullName }} | Full name of the recipient |
{{ .Recipient.Email }} | Email address of the recipient |
Variable | Value |
---|---|
{{ .Author.FirstName }} | First name of the message author |
{{ .Author.LastName }} | Last name of the message author |
{{ .Author.FullName }} | Full name of the message author |
{{ .Author.Email }} | Email address of the message author |
{{ template "content" . }}
serves as a placeholder for the body of the outgoing email. It will be replaced with the actual email content at the time of sending.{{ .Recipient.FirstName }}
expression will dynamically insert the recipient’s first name when the email is sent.