{{ .Recipient.FullName }}, which pull fields from the conversation, contact, recipient, and author. Libredesk replaces them with real values when it sends the email.
Outgoing email templates
Edit the template under Admin → Templates → Outgoing Email Templates. It applies to every outgoing email, including replies to conversations, notifications, and other system-generated mail.Available variables
Conversation variables
Contact variables
Recipient variables
The recipient is whoever receives the email. In replies to conversations,
Recipient and Contact are the same person. They differ only in email notification templates, where the recipient is an agent.
Author variables
The author is the sender of the message. When Libredesk itself sends the email (automations, conversation continuity), the sender is the built-in System user, so these fields stay empty - otherwise emails would render “System” as the author’s name.
Message variables
Use them to disclose AI replies, or to skip parts of the template that don’t fit an automated email:
Template functions
These work in any template, alongside the variables above.Using variables in replies and private notes
The same expressions work when an agent types them in the reply editor or a private note, and in macros. Libredesk replaces them when the message is saved, so the agent sees the final text right away.Example outgoing email template
Templates support HTML formatting. Use tags like
<p> and <br /> to control spacing and line breaks. Plain text without HTML tags renders without line breaks.How the template wraps a message
The template wraps every message an agent sends. Whatever the agent types in the editor goes where{{ template "content" . }} sits.
So if the template already opens with “Dear {{ .Recipient.FirstName }}” and closes with “Best regards, {{ .Author.FullName }}”, agents should write neither a greeting nor a sign-off. They write only the body.
Correct usage
Message written in text editor:Duplicated greeting and sign-off
Message written in text editor:Other template shapes
A template with no greeting means agents write their own. A template that is only the content placeholder means agents write the whole email, greeting and sign-off included. Read the active template before deciding what to write.Email notification templates
Edit these under Admin → Templates → Email notification templates. The default outgoing email template wraps each one, and the subject line takes the same expressions as the body. The first three go to agents, so{{ .Recipient.* }} is the agent being notified and author fields are empty. The CSAT request goes to the contact, as a normal reply in the conversation.
Each template has its own variables:
In the CSAT request,
{{ .Author.* }} holds the person who resolved the conversation, and is empty when an automation resolved it.
