imap.md•923 B
To create an IMAP connector, make a [`POST /v3/connectors` request](https://developer.nylas.com/docs/api/v3/admin/#post-/v3/connectors) and set the `provider` to `imap`.
The IMAP connector doesn't take a client ID or secret, or use any scopes. Instead, you pass individual server connection information with each authentication request. You can use the [Detect provider endpoint](https://developer.nylas.com/docs/api/v3/admin/#post-/v3/providers/detect) to help you pre-fill that information for [supported common IMAP providers](https://developer.nylas.com/docs/dev-guide/provider-guides/supported-providers/#supported-imap-providers).
When you start an auth request for an IMAP account, use the `Bearer auth` request header with your Nylas application's API key, along with the end user's IMAP username, password, and IMAP host and port.
In Nylas v3, IMAP providers can only sync data within a rolling 90 day window.