Connecting email
A mailbox joins the inbox one of two ways: you sign in with Google, or you give a server address and a password. The second route works with almost any provider, because IMAP and SMTP are the protocols nearly all of them still speak.
- The mailbox itself: a Gmail or Google Workspace account, or any account whose provider offers IMAP and SMTP.
- For the password route, an app password rather than the one you sign in with. Almost every provider now issues a separate one for mail programs, and refuses the normal password outright. It is issued in your mail account’s own security settings, not here, and it is the step people get stuck on — see below for where to find it.
- A mail server the internet can reach by name. A server that answers only inside a company network, or only over a VPN, cannot be connected — and DialogBrain will say so rather than pretend.
- Step 1
Open Connections and switch to Add New
In the inbox, the gear above the channel filters opens Connections. The Add New tab lists every channel this workspace can connect; Email is in the second row.

Connections → Add New. A green dot marks a channel you already have an account on. - Step 2
Sign in with Google, if the mailbox is Gmail
For Gmail and Google Workspace this is the whole procedure: press Sign in with Google, choose the account, allow access to your mail, and you come back connected. There is no password to type and none for us to store.
Google’s first sync brings in the whole inbox: no cut-off date, and no limit on how many conversations are loaded. Within a single conversation it fetches up to five hundred messages.
- Step 3
Or click “Connect with a password instead (IMAP/SMTP)”
That button sits underneath the Google one, and until you press it the screen has no address and password fields at all — which is worth knowing, because a person looking for somewhere to type a Yahoo address will not find one until they do.
Enter the address and the app password. If your provider signs you in with the part before the @ rather than the whole address — iCloud, Web.de, Free.fr, La Poste, WP.pl, O2.pl and a few others do — put that short name in “Login (if different from email)” under Advanced. Otherwise the server answers “invalid login or password” for a password that is perfectly correct.
- Step 4
Check the servers it filled in
When you leave the address field, DialogBrain looks your domain up in Mozilla’s open settings database and fills the four server fields in. It runs on leaving the field, not while you type, so give it that moment before you decide nothing happened.
For mail on your own domain it often works too. When it does not, the section says so and the four fields are yours to type in: IMAP is almost always port 993 with SSL, and SMTP is 465 with SSL or 587 with STARTTLS. Your hosting provider’s help has the two names; they are usually imap.yourdomain and smtp.yourdomain.
- Step 5
Press Connect, and let it try the real server
Nothing is saved until the mailbox has actually answered. DialogBrain opens IMAP, opens SMTP, and only then writes the account — so a mailbox that appears in your list is one that works, not one that will start failing quietly an hour later.
If the server refuses, you get its own words back, and for the common refusals a note about what they usually mean.
What arrives, and what does not
Connecting with a password reads your Inbox and your Sent folder; signing in with Google follows the inbox, so a reply you sent shows inside its conversation but a message to someone who never wrote back does not appear on its own. Mail that your own rules file into other folders stays where the rules put it, and does not reach the unified inbox. A reply you send from a password-connected mailbox goes out through your own SMTP server, and a copy lands in your Sent folder like any other message you write; a Google-connected mailbox sends through Gmail, which files the copy itself. Either way it leaves from your own address.
The first sync over IMAP loads the last thirty days, and the hundred most recent conversations in that window. A mailbox that has been sitting unused therefore looks empty when it connects, which is not a fault: new mail starts arriving immediately.
Connecting a mailbox does not put an agent on it. Assign one when you want mail answered; until then the inbox is only an inbox.
Mailboxes that cannot be connected, and why
Outlook.com, Hotmail, Live and MSN refuse a password before one is even sent: Microsoft ended password sign-in for personal mailboxes, and their IMAP server says so in its capabilities. No app password exists that would change this. Work mailboxes on Microsoft 365 depend on the tenant’s administrator, who can grant an exception.
Proton Mail publishes no IMAP server at all — its Bridge speaks IMAP only on the machine it is installed on, which nothing outside that machine can reach. Tuta offers neither IMAP nor SMTP by design.
None of these are DialogBrain limits, and none of them are fixed by a better password.
Do I need an app password to connect my email?
For most providers, yes. Gmail, Yahoo, AOL, iCloud, Fastmail, Yandex and Mail.ru all refuse the password you sign in with and issue a separate one for mail programs. GMX and Web.de use no app password but keep access for mail programs switched off until you turn it on.
Where do I actually get an app password?
In your mail account, not in DialogBrain. For a Google account: sign in, open your Google Account security settings, turn on 2-Step Verification if it is not already on — the app-password page does not exist until it is — then open the App passwords page, give it any name you like, and copy the sixteen characters it shows you once. Apple, Yahoo and Fastmail all keep the same thing under account security or sign-in. Copy it straight into the password field here; you will not be able to read it again afterwards, and generating a new one costs nothing if you lose it.
Do I need an app password if I sign in with Google?
No. The Google button uses your account directly and never asks for a password of any kind. App passwords are only for the IMAP route.
What are the IMAP and SMTP settings for Gmail?
imap.gmail.com on port 993 with SSL, and smtp.gmail.com on port 465 with SSL — port 587 with STARTTLS works too. Use an app password from your Google account security settings, not your normal password. Google Workspace mail on a company domain uses the same two servers.
What are the IMAP settings for Yahoo, iCloud, Zoho and Fastmail?
Yahoo is imap.mail.yahoo.com and smtp.mail.yahoo.com. iCloud is imap.mail.me.com and smtp.mail.me.com, and signs in with the part before the @ rather than the whole address. Zoho is imap.zoho.com and smtp.zoho.com, but the address follows the region the account was created in — imap.zoho.eu, imap.zoho.in and others. Fastmail is imap.fastmail.com and smtp.fastmail.com. All use IMAP port 993 with SSL.
Can I connect an Outlook.com or Hotmail mailbox?
Not with a password. Microsoft ended password sign-in for personal Microsoft mailboxes, and their IMAP server advertises LOGINDISABLED — it refuses before a password is sent, so no app password helps. A work mailbox on Microsoft 365 depends on your administrator, who can allow it for the tenant.
Can I connect Proton Mail?
No. Proton publishes no public IMAP server, and Proton Bridge speaks IMAP only on the computer it is installed on, which nothing outside that computer can reach. Tuta offers no IMAP or SMTP at all.
Can I connect mail on my own domain?
Yes, as long as the server is reachable from the internet by name. The connect form looks your domain up in Mozilla’s settings database first; when that comes back empty, the servers are usually imap.yourdomain and smtp.yourdomain, and your hosting provider’s help gives the exact names. Mail run by Google Workspace uses the Gmail servers with an app password.
Why does it say “invalid login or password” when the password is right?
Three different situations produce that same answer, and the server cannot tell you which one it is: access for mail programs is switched off in your mailbox settings, an app password is wanted instead of your normal one, or the provider signs you in with the part before the @ rather than the whole address. Check all three.
Which folders are synced?
Connecting with a password reads the Inbox and the Sent folder. Signing in with Google follows the inbox instead: a reply you sent appears inside its conversation, but a message to someone who never replied does not appear on its own. Mail your own rules move into other folders does not reach the unified inbox. The first sync over IMAP loads the last thirty days, up to a hundred conversations; signing in with Google loads the whole inbox, with no date limit and no cap on the number of conversations.
Do replies go out from my own address?
Yes, from your own address either way. A password-connected mailbox sends through your own SMTP server and DialogBrain places the copy in your Sent folder; a Google-connected one sends through Gmail, which files the copy itself. The conversation looks the same in your mail client as it does in DialogBrain.
Can I connect several mailboxes?
Yes. Run the flow once per mailbox, mixing Google sign-in and password connections freely. They sit side by side in the same inbox and each keeps its own agent assignment.
Where is my mail password stored?
Encrypted, and used only to open a connection to your own mail server. Nothing else reads it, and disconnecting the mailbox deletes it.