> For the complete documentation index, see [llms.txt](https://dexcore.gitbook.io/guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dexcore.gitbook.io/guide/dexcore-guide-es/setup/installation/config-file/custom-imap.md).

# Custom IMAP

{% hint style="info" %}
**What is IMAP?** IMAP (Internet Message Access Protocol) lets programs read emails from an email server. If you're not using Gmail, you can use any email provider that supports IMAP.
{% endhint %}

***

## How to Set Up

Enter your IMAP credentials into the **Config** file. Make sure you use the correct IMAP host and port for your email provider.

```json
{
  "email": "your email here",
  "password": "your password here",
  "domain": "your @domain here",
  "imapHost": "imap host here",
  "imapPort": porthere
}
```

{% hint style="warning" %}
If your provider requires an App Password (like Gmail), use that instead of your regular email password.
{% endhint %}

***

## Popular IMAP Providers

| Provider          | IMAP Host               | Port |
| ----------------- | ----------------------- | ---- |
| Gmail             | `imap.gmail.com`        | 993  |
| Yahoo             | `imap.mail.yahoo.com`   | 993  |
| Outlook / Hotmail | `imap-mail.outlook.com` | 993  |

{% hint style="danger" %}
**Gmail users:** You MUST use an **App Password**, not your regular Gmail password. Go to Google Account → Security → 2-Step Verification → App Passwords → Generate one. 👉 [Gmail Setup](/guide/dexcore-guide-es/setup/installation/config-file/gmail-setup.md)
{% endhint %}

{% hint style="info" %}
Most IMAP providers use port **993** with SSL/TLS encryption. If your provider uses a different port, check their documentation.
{% endhint %}
