IMAP connect failed? The five causes, and the fix for each
I build Busymail, an email client that connects to any public IMAP server on port 993 with an app password. These are the five reasons a connect actually fails, in the order I see them, with the fix for each. If yours is
I build Busymail, an email client that connects to any public IMAP server on port 993 with an app password. These are the five reasons a connect actually fails, in the order I see them, with the fix for each. If yours is not here, the last section says exactly what to send me.
1. The connect names the folder it needs: Sent or Archive is missing
Busymail needs Sent and Archive to exist on the server. Drafts is created for you. If either is missing, the form names the folder and asks you to create it, then connect again.
That check exists because archiving in Busymail is real: the message moves into the Archive folder on your own server, so the change shows up in Apple Mail or any other client you use. If there is no Archive folder to move into, the connect refuses rather than pretend it worked.
Fix: create the named folder in your mail app or over IMAP, then try the connect again.
2. There is no app-password option in the provider's settings
App passwords are a provider feature, and both the provider and the plan decide it. Gmail only shows them once 2-Step Verification is switched on. Fastmail's Basic plan cannot create app passwords and does not offer IMAP at all. Some corporate servers disable app passwords outright.
Fix: check the provider's security settings for app passwords and for IMAP access. If the option is not there, that server cannot be connected yet, and no amount of retrying changes it.
3. Microsoft 365 or Outlook
Microsoft 365 and Outlook cannot connect yet. Gmail, Yahoo, Fastmail and public IMAP servers on port 993 with an app password are what works today. It is a real limitation, not a setup mistake, and I would rather say so before you spend an hour on it.
4. The server answers the host but the connect still fails
Two causes: a wrong host or port, or a network that blocks port 993.
Fix: the form wants the IMAP host, often imap.yourdomain.com, on port 993 with SSL. If the host is right, try once from a phone hotspot; that rules out a work network filtering the port.
5. Anything else
Tell me the exact step where it stops and, if the app shows one, the error text. That is usually enough to name the cause. Write to [email protected].
Busymail connects to Gmail, Yahoo, Fastmail or any public IMAP server on port 993 with an app password. New mail is sorted into bundles, and the same account is an MCP server your AI client can read, search and draft from, with everything it writes waiting for you in the approval queue. Microsoft 365 and Outlook cannot connect yet.
The trial terms and the price live on the signup page: start there, or see the demo without an account.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.