> For the complete documentation index, see [llms.txt](https://layerlabs.gitbook.io/abuse-manager-pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://layerlabs.gitbook.io/abuse-manager-pro/optional-and-advanced/reply-to-emails-smtp.md).

# Reply To Emails (SMTP)

{% hint style="info" %}

This is a new feature that is available in v5.2 and above.&#x20;
{% endhint %}

To be able to converse and reply back to imported emails using SMTP, you need to fill the below details:

* SMTP Host & Port
* SMTP From Name
* SMTP Email Address
* SMTP Email Password
* SMTP SSL Type

<figure><img src="/files/Hjj4LeGK9iR5A4bchKST" alt=""><figcaption><p>SMTP settings on the module settings page</p></figcaption></figure>

{% hint style="info" %}
If port 587 does not work, your SMTP server might be using a different port, or a different SSL/TLS type.
{% endhint %}

You will then be able to reply back and view the conversation history from within the abuse report page (open, closed, queued). The "Show Mail" button the in top of the abuse report detail page will only be visible if this abuse report has been imported via IMAP and the SMTP settings exist and are valid.

<figure><img src="/files/pDfhgyV7TXn2y3K3sVVs" alt=""><figcaption><p>"Show Mail" button</p></figcaption></figure>

<figure><img src="/files/nHgluemxV6mluelYOygh" alt=""><figcaption><p>Mail Plugin modal which allows you to see the mail history as well as reply back</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://layerlabs.gitbook.io/abuse-manager-pro/optional-and-advanced/reply-to-emails-smtp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
