# Email Template

**Email template:**

When you install the plugin, an email template “Form Manager” and the email type “Form Manager” are created.&#x20;

You can then adapt and/or duplicate this at any time.&#x20;

If you want to create a new email template, be sure to select the “Form Manager” type&#x20;

For more information about email templates, see\
<https://docs.shopware.com/en/shopware-6-en/settings/email-templates>

<figure><img src="/files/8Sdy4jBPfNVlJiVa2KlB" alt=""><figcaption></figcaption></figure>

Make sure to enter the required code for **TEXT** and **HTML** under **Mail text**

**TEXT**

{% code lineNumbers="true" %}

```twig
 The following message was sent to you via the contact form.
 {{ pixforData.config.translated.name }}
 {% if pixforData.email %}
 e-Mail:{{ pixforData.email }}
 {% endif %}
 {% if pixforData.subject %}
 Betreff:{{ pixforData.subject }}
 {% endif %}
 {% for item in pixforData.form %}
 {{ item.label }}:{{ item.value }}
 {% endfor %}
```

{% endcode %}

**HTML**

{% code overflow="wrap" lineNumbers="true" %}

```twig
<div style="font-family:arial; font-size:12px;">
<p>
 The following message was sent to you via the contact form.<br/>
<br/>
 
<h2> {{ pixforData.config.translated.name }}</h2> 
{% if pixforData.email %}
<b>e-Mail:</b>{{ pixforData.email }}<br>
{% endif %}
{% if pixforData.subject %}
<b>Betreff:</b>{{ pixforData.subject }}<br>
{% endif %}
{% for item in pixforData.form %}
<b>{{ item.label }}:</b> {{ item.value }}<br>
 {% endfor %}
 </p>
 </div>
```

{% endcode %}

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


---

# 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://docs.pixeleyes.de/anleitungen-instructions/english/documentation-of-our-shopware-6-plugins/forms-manager-for-shopware-6/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.
