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

# Email Templates Configuration

# Overview

**Email templates** in AbuseHQ are fully customizable, allowing you to include exactly the information you want when notifying subscribers or internal teams.

## Accessing Mail Notification Settings

To configure email templates, follow these steps in the **Admin Portal**:

1. Click the **Settings** option in the left-hand menu under **AbuseHQ**.
2. Click on **Mail Notifications** under **Integrations**.
3. Click the **Create Template** button.

## Creating a New Email Template

Once inside the email template editor:

1. **Enter a Name** and **Description** for the email template.
2. **Select the SMTP service** you wish to use from the dropdown menu.
3. Fill in the **template body** with your custom message using dynamic content.
4. Click the **Save** button in the top-right corner.

> ✅ Your template is now ready to be used in Playbooks, Notifications, and more.

## SMTP Service

You must specify which **SMTP server** AbuseHQ should use to send the email notifications.

* You can store **multiple SMTP servers**
* You can select a different SMTP server **per template**

## Templates

### 📧 Example Email Template

```bash theme={null}
From: support@example.com
To: {{ s.resolver_data.email }}
Subject: [Reference ID: {{ case.id }}] Possible NTP Abuse from your Network

Dear {{ subscriber.resolver_data.name | default: “Customer” }},

We have been notified of a potential security-related issue with your internet service.

— The following material was provided to us as evidence —

{{ repshare.event.url }} (URL to the abuse report)
```

## Templating Language

AbuseHQ uses **Liquid syntax** to allow dynamic content in templates. Below are some usage examples:

```liquid theme={null}
{{ user.name }}

{{ user.mood | default: '😃' }}

{% if product.rating >= 4 %}
These shoes are awesome!
{% endif %}

{% if customer.name == 'kevin' %}
Hey Kevin!
{% elsif customer.name == 'anonymous' %}
Hey Anonymous!
{% else %}
Hi Stranger!
{% endif %}

{% comment %}
This is a block comment in Liquid
{% endcomment %}
```
