# 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: 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.sprinthub.com/en/topics/integration/integrations-imap-and-smtp/i-cant-connect-my-email-through-the-integration..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.
