# 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="https://2061240942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2bDXNnc5DRWPvagpuhf1%2Fuploads%2FwDs3tsr8qvZZubjcHFPT%2Fimage.png?alt=media&#x26;token=b3fa6b3b-3907-45ba-b056-caa3aaf93c6b" 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="https://2061240942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2bDXNnc5DRWPvagpuhf1%2Fuploads%2F55dmBsn5cgpkTEHC94oh%2Fimage.png?alt=media&#x26;token=fc4e8081-23e3-49a5-a73b-ff4dd9444a23" alt=""><figcaption></figcaption></figure>
