Skip to main content
GET
Autoconfig Provider

Overview

Given an email address, returns the recommended connection method and the IMAP/SMTP server settings — so you can route the user to the right flow (Gmail/Microsoft OAuth vs IMAP/SMTP) and pre-fill the server fields. Resolution: a curated provider table, then an MX lookup (Google Workspace / Microsoft 365 on custom domains), then the Mozilla ISPDB (covers most ISPs), then a manual fallback.
This endpoint is free (0 credits) and read-only.

Request

string
required
Your API key.
string
required
The mailbox address to look up, e.g. you@company.com.

Response

boolean
Whether the lookup succeeded.
object
When the domain is unknown, imap and smtp are null and source is "unknown" — the user fills the server settings by hand.