---
title: "Email template guidelines"
slug: "email-template-guidelines"
updated: 2022-03-23T12:34:33Z
published: 2022-03-23T12:34:33Z
canonical: "knowledge.lightico.com/email-template-guidelines"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.lightico.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Email template guidelines

When you upload an email HTML template in **System Settings** **⇾** **Notifications**(see [Send Notifications](/v1/docs/notifications)[](/v1/docs/notifications)**[](/v1/docs/notifications)**), use the following guidelines:

- The maximum size of the file should be 1M
- The file should have a .**html** extension
- The name of the file should be different to the name of the default system template.
- The content should be valid HTML (parsed without errors)
- You cannot use inline javascript or inline events javascript (example: onclick=”...”)
- You cannot use external javascript
- Image links should point to the Lightico subdomain only
- You cannot use Base64 image sources
- External CSS not allowed
- You can use external fonts
- The email template must contain the placeholder “**#SESSION_URL#**” (case insensitive), under the **<a>** element, with attribute: **target=”_blank”**
- Template must include **#BODY_TEXT#**
