In this article, we'll list the global variables that can be inserted into any email template in addition to the fields that are specific to each system area.
Think of a variable as a placeholder - a space into which relevant information will be inserted when the email is triggered. Note that variables are unique to each system area. For example variable {1} for an Event template, will contain different information to variable {1} for a Course template.
In addition to the variables specific to each system area, some global variables are also available which can be inserted into any template*. We'll list all the global variables in this article.
For a full list of all the email templates that are sent by Learn LMS, view the article Email templates: content, triggers, and variables.
*with the exception of the EventBookingBookedUserExchange template
Field |
Description |
| {ContextType} | This will be the vocabulary term for the context of each email, e.g. ‘Event’ or ‘Lesson’. Each template will label its own context type. There are 2 variations of this variable: {ContextTypeUpper}: Upper case context type, e.g. ‘EVENT’ {ContextTypeLower}: Lower case context type, e.g. ‘event’ |
| {UserFirstname} | First name of the email recipient |
| {UserLastname} | Last name of the email recipient |
| {UserFullname} | The first and last name of the email recipient, separated by a single space |
| {UserEmail} | Email address of the email recipient |
| {UserName} | User name of the email recipient |
| {FromFirstname} | First name of the email sender |
| {FromLastname} | Last name of the email sender |
| {FromFullname} | The first and last name of the email sender separated by a single space |
| {FromEmail} | Email address of the email sender |
| {SystemName} | The system name as defined in the LMS vocabulary |
| {TeamName} | The team name as defined in the LMS vocabulary |
| {ObjectGuid} | The internal LMS identifier for the context item |
| {LMSURL} | Web address for the Learning Management System |
| {LongDate} | The date at which the email was sent, in long format, e.g. ’07 May 2025’ |
| {ShortDate} | The date at which the email was sent, in short format e.g. ‘07/05/2025’ |
| {LongTime} | The time at which the email was sent – In long format e.g. ’11:46:36’ |
| {ShortTime} | The time at which the email was sent – In short format e.g. ’11:46’ |
| {ObjectGuid} | The internal LMS identifier for the context item |
Sometimes the data that replaces the variables is empty, e.g. the address for an event, or the description for a lesson. For plain text emails if any variable in a line is empty then the entire line is removed from the generated email. For html emails, if all the variables in a <div>…</div>, <span>…</span>, <p>…</p>, or <tr>…</tr> section are empty then the entire section is removed from the generated email.
Ask the Community🤝
Want to connect with peers and hear how they manage notifications? Our customer Community is a great place to get quick, relatable advice - so jump in, ask your question, and learn from the wider customer Community.
Get deeper learning in The Academy
The Academy provides structured learning paths you can follow at your own pace, along with live events where you can connect with the Kallidus team and fellow learners. Here's some relevant content to get you started:
- Mastering email notification templates & configuration
- Engage your learners: think like a marketeer!
Don't have your account yet? Contact the Customer Support Team to activate your free account.