---
title: "Style your emails with templates"
description: "Choose how support reply emails look, and use custom HTML templates with variables when the built-in looks aren't enough."
url: https://help.gleap.ai/de/articles/281-style-your-emails-with-templates
collection: "Email"
updated: 2026-11-24
language: de
alternates: [en]
---

# Style your emails with templates

Choose how support reply emails look, and use custom HTML templates with variables when the built-in looks aren't enough.

When Gleap emails a reply, your message is placed inside a layout. For most teams the built-in looks are enough. If you want full control, you can write your own HTML template and assign it per ticket type. Project admins set this up.

### Pick a look

1.  Go to **Settings → Email → Support replies**.
    
2.  Under **Look**, choose one:
    
    -   **Personal**: reads like one person replying, with the teammate's photo and signature.
        
    -   **Plain**: looks hand-typed, like an email from Gmail. No images or colours.
        
    -   **Custom HTML**: uses your own reply email template.
        

Changes save straight away. **Sample reply** at the bottom of the page shows how the email will look; with Custom HTML it links to your template instead. Your brand colour, set under **Settings → Email → Brand**, is used for buttons in Personal emails.

### Use your own HTML template

1.  Go to **Settings → Email → Support replies** and set **Look** to **Custom HTML**.
    
2.  Click **Reply email template per ticket type**. On the page that opens, pick a template for each ticket type, such as Bug, Conversation and Idea. **Built-in look** keeps Gleap's layout for that type. This covers the replies your team and Kai send.
    
3.  Back on **Support replies**, under **Request received confirmation**, click **Confirmation text per ticket type** to set the email confirming a ticket was received.
    
4.  To edit a template or add your own, go to **Settings → Email → Advanced → Custom HTML templates**.
    

![Email brand screen in the Pied Piper demo project.](https://staticfiles.gleap.io/p613b5dd730aed737108f87ab/7X0rvCOKg4M05wWqnkLweaRQJC5mgpmJ03bRgpd98qRKVLQxU8TxFaWtRIcOEX3W2T78hhhglcX.png)

Replies and confirmations are kept apart because they do different jobs. A reply should look like a message from a person; a receipt is a notification, and can carry more structure without feeling cold.

### Variables

A template is HTML with placeholders filled in at send time. The important one is `{{{htmlContent}}}`, the actual message, in triple braces so its HTML isn't escaped. Remove it, and your emails go out beautifully styled and completely empty. The editor warns you when it's missing.

The others let the template adapt to the message and to your branding:

-   `{{title}}`: the ticket's title.
    
-   `{{color}}` and `{{contrastColor}}`: your brand colour and a readable colour to put on top of it, so buttons stay legible whichever colour you choose.
    
-   `{{profileImageUrl}}` and `{{name}}`, inside the `{{#user}}` block: the photo and name of whoever is writing, which is what makes a reply feel like it came from a person. `{{projectName}}` in the same block adds your project's name.
    
-   `{{bugRef}}`: the ticket's internal ID. The default template puts it on a `GLEAPID:` line that helps match email replies to the right ticket, so keep that line.
    
-   `{{unsubscribeLink}}` and `{{unsubscribeText}}`: filled in on mail that carries an unsubscribe option, such as changelog emails, and empty on replies.
    
-   `{{{signature "slug"}}}`: places one of your custom HTML signatures. The editor lists the exact line for each one.
    

> **Warning:** Don't remove the unsubscribe placeholders from templates used for anything a customer didn't directly ask for. Beyond the legal question, mail without a visible way out gets marked as spam, and that hurts delivery for everything else you send.

### Write HTML that survives email clients

Email clients are unforgiving. Layout techniques that work in a browser fall apart in Outlook, so keep changes conservative: swap colours, add your logo, adjust spacing. Rebuilding the structure is where templates usually break.

Test in more than one client before you rely on a change. The same template renders differently in Gmail, Outlook and Apple Mail, and dark mode is where most surprises live: a logo with a white background can end up as a bright rectangle in an otherwise dark email.

### Looking for something else?

Saved replies for the inbox are called Macros, and WhatsApp has its own message templates. See [Where are message templates? They're called macros now](https://help.gleap.ai/en/articles/16751962-where-are-message-templates-theyre-called-macros-now.md).

### Related

-   [Add an email signature for your team](https://help.gleap.ai/en/articles/282-add-an-email-signature-for-your-team.md)
    
-   [Send email from your own domain](https://help.gleap.ai/en/articles/280-send-email-from-your-own-domain.md)
    
-   [Set up ticket types and custom fields](https://help.gleap.ai/en/articles/293-set-up-ticket-types-and-custom-fields.md)
