> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/integrations/integrations-imap-and-smtp/i-cant-connect-my-email-through-the-integration..md).

# I can't connect my email through the integration.

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

Follow the topics below to find which one fits the description of the problem you are having when setting up email.

### I set up the email but an error message appears when I click add

<figure><img src="/files/69b99ad094cb434b7d376309b7d241a259b23b80" alt=""><figcaption></figcaption></figure>

This error means that one of the fields was filled in incorrectly or that the user's authentication was not done correctly. Follow the list below for correction:

* Check if the email and password are typed correctly (if it's Gmail, the app password)
* If the ports are configured correctly based on your provider.
* If the host is correct and is actually responding; to do this follow the link to a tool below:

{% embed url="<https://www.dotcom-tools.com/email-server-test>" %}

### I configured the integration but still cannot send emails.

To perform the SMTP configuration, go to the emails tab. There you can configure in two ways:

1. Elastic Mail - Tool focused on email marketing
2. Own SMTP - If your email provider already has its own SMTP, just configure it in this area.&#x20;

{% hint style="warning" %}
Remember that Gmail does not have its own SMTP; it is necessary to use Elastic Mail.
{% endhint %}

To configure Elastic Mail, follow the link below:&#x20;

{% embed url="<https://docs.sprinthub.com/tutoriais/configuracoes/configurando-dns-com-elastic-mail-no-sprinthub>" %}

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

For Own SMTP, it is necessary to confirm with the email provider what the host, port, encryption and authentication method are.

<figure><img src="/files/90d45e2ea21032fc4eb6b5b52d337108722ed8a1" alt=""><figcaption></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://docs.sprinthub.com/en/topics/integrations/integrations-imap-and-smtp/i-cant-connect-my-email-through-the-integration..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.
