Email Templates

Email templates are pre-formatted webpages that provide the structure for creating well-designed email messages. By removing the need to recreate the same content every time you send a message, they streamline the email creation process and ensure consistency in branding and formatting across various email platforms.


These email templates are created as webpages under /emailtemplates/ on your MSL website. When applied to a message, they let the sender edit predefined regions, keeping the rest of the content visible but not editable. Senders can only use email templates they have permissions for.


Email templates can include details including your logo, name, contact information, and social media links. To personalise email templates you can include the {firstname} token, automatically adding the recipient's first name to the message. 


Whether you're sending newsletters, emails from your officers, information about elections, or communications from your activities team to student groups, you can create multiple email templates tailored to different scenarios. This flexibility enables the inclusion of departmental branding elements, such as distinct logos and colours.


Alternatively, if you've created an email template elsewhere, use the Raw HTML Composing Mode instead. This feature allows you to directly paste full HTML documents into the email composition window, eliminating the need for a separate email template. For further information, see How to Allow a Relaxed Messaging HTML Clean Ruleset and How to Compose an Email Message in Raw HTML Composing Mode.


TABLE OF CONTENTS


You can access this feature from your MSL website. Only Content Editors with access to Website Admin can access the Website Pages window.


Do not confuse Email Templates with System Email Templates used in the MSL System Admin site. For further information, see System Email Templates.


For further information, see Communications Overview.


Editable Regions

Editable regions are predefined sections in the email template the sender can edit and add content to. The rest of the content outside these regions is visible but locked, maintaining the overall layout of the email.


Editable regions are set in the source view using this format:

<!--mslemail(regionname)-->Editable Region<!--/mslemail-->

Before proceeding, please be aware of the following:

  • Ensure each region name in a template is unique; having the same name for multiple regions will cause the template to fail loading
  • You can include multiple editable regions in each template
  • Pay attention to your markup - any tag opened in a region should also be closed within that region and vice versa
  • Nesting regions within regions is not supported


Message Template Tokens

This table lists and explains the available Message Template tokens.


Token NameDefinition
{firstname}This token adds the recipient’s first name to the subject and/or body of the message.
{lastname}This token adds the recipient’s last name to the subject and/or body of the message.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.