# How to add a pre-header to an email template?

Email marketing is a powerful tool for engaging with your audience, but optimizing your campaigns for maximum impact requires attention to detail!

One crucial element often overlooked is the pre-header, a valuable asset that can significantly improve the open rate of your email campaigns.

### Understanding the pre-header <a href="#h_5c08cbc84d" id="h_5c08cbc84d"></a>

The pre-header is the snippet of text that follows the subject line in an email inbox:

<figure><img src="/files/pZ1mKrBOyFX0Hg54VnoP" alt=""><figcaption></figcaption></figure>

By default, the first lines of an email are often displayed as a preview. However, these lines may not always provide valuable information to entice recipients to open the email.

{% hint style="success" %}
Generic greetings such as *'Dear customer, we are pleased to...'* might not be compelling and a well-crafted pre-header can make a substantial difference 💪
{% endhint %}

### How to add a pre-header to your email template <a href="#h_0fbc83b9df" id="h_0fbc83b9df"></a>

To take control of your email pre-headers, you can effortlessly add a pre-header directly within your template in the Message settings tab.

Most email clients display the beginning of the email body right after the subject and pre-header in the inbox preview. To avoid showing this content, you can enable the **Fill in with white space** option. This adds empty space after the subject and pre-header, preventing any text from the email body from appearing.

When the **Fill in with white space** option is enabled, inbox previews will show empty space after the pre-header.

<figure><img src="/files/SGIMzxmzVXGpqm6TnNPL" alt="" width="563"><figcaption></figcaption></figure>

By incorporating this step, you can customize your pre-header text, providing a concise and compelling summary that encourages recipients to open and engage with your emails.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.batch.com/guides-and-best-practices/message/email/content-and-media/how-to-add-a-pre-header-to-an-email-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
