> 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="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fp5F44vmE4Gd3pwBQooNU%2Fundraw_Page_not_found_re_e9o6.png?alt=media&amp;token=f9c28826-f346-48f8-aa21-fc6ec025123f" alt=""><figcaption></figcaption></figure>

Follow the topics below to find which one matches the description of the issue you're having when setting up email.

### I set up the email, but an error message appears when I click Add.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F7GtPGKa0lM2l7pD8co0p%2Fimage.png?alt=media&amp;token=b8537cb1-2c4c-412b-b4ba-7641493a546e" alt=""><figcaption></figcaption></figure>

This error means that one of the fields was filled in incorrectly or that the user's authentication was not performed correctly. Follow the list below to fix it:

* Check whether the email and password were entered correctly (if it's Gmail, the app password)
* Whether the ports are configured correctly based on your provider.
* Whether 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 I still can't send emails.

To configure SMTP, go to the email tab. There you can configure it in two ways:

1. Elastic Mail - A 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; you need 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="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FN6OHp3mjvGTH9f8P0TXS%2F1.png?alt=media&amp;token=10a0bd4e-cd50-4b33-87ea-997f5f80a8cb" alt=""><figcaption></figcaption></figure>

For Own SMTP, you need to confirm with the email provider the host, port, encryption, and authentication method.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FYofIPoYd2FgkAK0DcIHB%2Fimage.png?alt=media&amp;token=36e21e0e-04b1-4601-976c-260ea384819f" alt=""><figcaption></figcaption></figure>
