User guide
Connect a mailbox to your own profile to send and receive messages in Open Mercato. Import older conversations separately when you want them on the customer timeline.
Connect a personal mailbox to Open Mercato so the messages you send through the app go out under your real email address and replies land in the unified inbox alongside Slack, WhatsApp, and other channels.
This release ships three providers:
There is no dedicated Microsoft 365 / Outlook connector; connect those mailboxes through IMAP + SMTP (see below).
The rest of this page describes the email providers. Discord follows the same connect / send / receive shape, but its setup and its capability limits are specific enough to live on their own page – read Set up Discord instead.
These two features look similar but solve different problems:
| You want… | Use |
|---|---|
| To send and receive messages from your own daily email address | Communication Channels (this guide) |
| To forward customer threads into a shared mailbox so the AI agent extracts orders, quotes, and contacts | Inbox Ops |
A tenant can use both. Communication Channels is per-user; Inbox Ops is tenant-shared. Inbox Ops never reads your personal mailbox, and Communication Channels never receives forwarded threads from your colleagues.
Profile → Communication Channels (in the left sidebar). The page is empty until you connect a channel.
The CTA in the top right offers two providers. Pick the one that matches your mailbox.
The first poll runs within five minutes. New mail in your inbox label is synced; sent mail is captured automatically when you reply from inside Open Mercato.
There is no dedicated Microsoft connector. An Outlook.com / Microsoft 365 mailbox can be connected through IMAP + SMTP using an app password.
verify (EHLO + AUTH ping) against your servers. Bad credentials, wrong host, or unreachable ports are reported as field-level errors right there – nothing is saved until both servers accept the login.Use a per-app password whenever your provider offers one (Fastmail, Yandex, etc.). Stored credentials are encrypted at rest.
Compose a message in the Messages inbox as usual. The platform routes the outbound through your primary channel automatically; the recipient sees the message coming from your real email address, complete with proper Message-ID, In-Reply-To, and References headers so it threads correctly in your sent folder and the recipient's inbox.
A user can have multiple channels connected simultaneously (e.g. a Gmail account and an IMAP-connected Fastmail account). One of them is marked primary – that's the channel used for outbound when you don't explicitly pick one. Click the star icon next to a channel to flip the primary.
If a refresh token expires or a password rotates, the affected channel flips to Needs reconnection and you get a notification. Open the profile page and click Reconnect on the offending row. Gmail goes back through the OAuth flow; IMAP/SMTP shows the credentials form again pre-filled with the unchanged values.
While a channel is in Needs reconnection, outbound sends through it are blocked at the API layer with a clear inline error so you know exactly why a message wouldn't send.
New mail starts syncing when you connect the mailbox. To bring existing conversations into the back office, request a history import.
If you want older messages to appear too (for example to backfill a CRM contact's email history), open Profile → Communication Channels, find your channel, and click Import history. A dialog asks for three things:
| Field | What it does |
|---|---|
| Look back (days) | How far back to scan, from 1 to 3,650 days with the default deployment settings. The default request is 30 days. |
| Filter by sender (optional) | Comma-separated list of email addresses. Restricts the scan to messages from those senders only. Leave empty to scan every sender in the window. |
| Maximum messages | Hard cap on how many messages to import, from 1 to 50,000 messages with the default deployment settings. The default request is 1,000. |
Press Cmd/Ctrl+Enter to submit (or Escape to cancel). The import runs in the background – you'll see a progress indicator in the top bar showing how many messages have been processed. You can close the page and come back later; the import keeps running.
Tips:
OM_IMPORT_HISTORY_MAX_SINCE_DAYS and OM_IMPORT_HISTORY_MAX_MESSAGES.For Gmail accounts, Open Mercato uses push delivery instead of polling: the provider tells us the moment new mail arrives, so the unified inbox typically updates within 5–15 seconds. There's nothing to configure – push is enabled automatically when you connect a Gmail mailbox, provided your operator has set up the underlying infrastructure (a Pub/Sub topic for Gmail).
For IMAP accounts (Fastmail, custom servers, etc.), Open Mercato polls every 60 seconds – IMAP doesn't expose push primitives that fit a queue-worker model. New mail usually appears within 30–60s.
If your channel's status drops from "Connected" to something else (e.g. your Pub/Sub topic gets misconfigured), Open Mercato automatically falls back to 60-second polling. You'll see a "Re-register push" button in the channel detail page when this happens – clicking it tries to re-establish push delivery.
Click Disconnect on a channel to halt polling and clear the stored credentials. The Open Mercato action log records the disconnect, and an admin can undo within the standard undo window if you change your mind – except when another channel has become primary in the meantime (the platform won't silently demote it). Disconnecting does not delete the conversation history that was already synced; it just stops new mail from coming in or going out via that account.
You haven't verified your Google Cloud OAuth app yet. For internal use on a Workspace tenant, verification isn't required – but you must add yourself as a test user in OAuth consent screen → Test users while the app is in Testing status.
Your provider rejected the password. Most common causes:
The host/port combination isn't reachable. Check the provider's documented IMAP host (usually imap.<provider>.com) and pick the right port for the TLS mode you selected (993 implicit TLS, 143 STARTTLS).
The most common cause is a revoked refresh token (Gmail's refresh tokens are revoked when you change your password). Reconnect once and the new token persists.
If reconnects keep failing within minutes:
Same root cause as Needs reconnection. Open the profile page and reconnect the affected channel; the failed outbound is retried automatically on the next poll cycle.
Authentication-Results or DKIM-Signature for purposes other than delivery diagnostics.If you ever want to know exactly which messages have been synced from your account, the channel detail page lists every message-id Open Mercato has on file.
Previous: Set up IMAP + SMTP · Next: Manage currencies and exchange rates