Connect mailboxes
Authorize Gmail, Outlook, or an IMAP and SMTP mailbox in Cloud.
Open Mailboxes in the dashboard and choose your provider. Your workspace needs a trial or paid subscription. Pro includes ten mailbox connections; Business includes twenty per purchased member, pooled across the workspace. See billing and plans. After connecting, authorize an MCP client or create an agent key for REST access.
Gmail and Google Workspace
Choose Gmail, sign in to Google, and authorize Cloud. Cloud uses the Gmail API and requests gmail.modify, which covers reading, drafts, sending, labels, and Trash. Cloud rejects permanent message deletion for Gmail OAuth connections.
Choose the agent key's scopes to restrict how much of that access an agent can use. If Google blocks consent or the provider is unavailable, see connection troubleshooting.
Outlook and Microsoft accounts
Choose Outlook and authorize your Microsoft account. Cloud requests Mail.ReadWrite, Mail.Send, MailboxSettings.ReadWrite, User.Read, and offline_access. MailboxSettings.ReadWrite lets agents create and delete Outlook categories. A mailbox connected before Cloud asked for it can still read and apply categories; reconnect it to create or delete them. You can connect personal and work accounts. Your organization may require administrator consent; ask your Microsoft 365 administrator to approve access if consent is blocked. If Outlook is unavailable in Cloud, contact support.
IMAP and SMTP
For iCloud, Yahoo, AOL, and Fastmail addresses, the dashboard fills in the server settings and keeps them set. Select Change server settings if your provider's current instructions list different servers. These providers need an app password instead of your regular password, and the form links to each provider's instructions for creating one. For Yahoo, the link opens Yahoo's Account Security page, where you select Create app password under External connections. Gmail uses the Google connection flow in the dashboard.
For another provider, enter the mailbox address, password, optional login username, and both servers. The username defaults to your email address.
| Service | Accepted connections |
|---|---|
| IMAP | Port 993 with TLS, or 143 with STARTTLS |
| SMTP | Port 465 with TLS, or 587 with STARTTLS |
Cloud requires public DNS hostnames and verified TLS certificates. IP addresses, private servers, port 25, and plaintext connections are not accepted. Cloud checks both IMAP login and SMTP authentication before saving the connection, including when you plan to give the agent read-only access.
Enter the mailbox address first. The dashboard then shows the rest of the form, with the server settings filled in for iCloud, Yahoo, AOL and Fastmail addresses.
Save sent mail, under Advanced settings, saves a copy of each message you send in your Sent folder. It starts off for Yahoo and AOL addresses, because those providers keep their own copy, and on for everything else. Turn it off if your provider already saves sent mail, to avoid duplicate copies.
Folder mappings
If Cloud cannot detect folders, expand Advanced settings and enter their exact paths for Sent, Drafts, Trash, Archive, or Spam under Folder mappings. Preserve the provider's case, spaces, and accents. Leave a mapping empty to use automatic detection. To change an existing connection's mappings, open Mailbox settings from the mailbox's menu. If you connect the same address again on the same IMAP server, an empty Trash or Archive mapping keeps the folder already saved for the mailbox. To return one to automatic detection, use Mailbox settings.
Trash and Archive folders
Agents can trash, restore, and archive mail only when Cloud knows which folders are the mailbox's Trash and Archive. If your mailbox has no folder with a usual name, or has two that could be the Trash, those tools return an error that says why. To fix it, open the mailbox's menu on Mailboxes and select Mailbox settings. The dialog lists the mailbox's folders, shows the one Cloud uses for each role, and lets you pick another. You don't need to enter the password again. If you later rename or delete a folder you chose, the dialog asks you to choose again.
The same dialog changes the other settings an IMAP mailbox was connected with: the Sent, Drafts and Spam folders, and whether Cloud saves a copy of sent mail. Only the mailbox's owner can change these settings.
Reconnect or disconnect
If provider authorization expires or is revoked, reconnect in the dashboard. After reconnecting, ask your agent to list your 5 most recent emails using its OAuth connection or agent key.
Disconnecting removes the Cloud mailbox connection and its send-operation records. Mail already stored at your provider remains there. Before disconnecting, check any uncertain sends. Reconnecting does not restore their duplicate-send protection.
Last updated