Connected email accounts
This capability is available for demo purposes only. Its navigation entry is feature-flagged and hidden in the sandbox and production environments.
Brokers can connect their email accounts (Gmail or Outlook) to Korint. The connected email accounts page gives a logged-in broker a single view of the accounts available to them, so they can tell at a glance which mailboxes are linked and whether they are personal or shared with colleagues.
The page lives in the intermediary dashboard under Emails → Gestion des comptes.
What a broker sees
The page requires an authenticated broker within a tenant, and it lists two groups:
- Mes comptes: every account the broker owns, whether the broker keeps it private or shares it. A closed-lock control marks these as the broker's own and, in a later iteration, will let an administrator toggle sharing.
- Comptes partagés avec moi: accounts owned by other members of the same brokerage firm that have been shared. This group is shown only when at least one shared account exists.
Within each group, accounts are ordered by connection date, oldest first. Every row shows the provider logo, the account name, its email address, and a status indicator for the connection health.
The page has four states: accounts owned by the broker, accounts shared with the broker, an empty state when no account is connected, and an error state when the list cannot be loaded.
Feature flag and environment policy
Visibility is controlled by the feat_connected_email_accounts feature flag,
resolved through the in-house feature-flag registry. The flag is a row in the
FeatureFlag table, evaluated per environment, and defaults to disabled when no
row is present.
Because each environment has its own FeatureFlag table, the section is enabled
where it is wanted (local, staging, review environments) and left disabled in
sandbox and production, where no row is created. Operators who wonder why the
Emails navigation is or is not visible should check this flag in the target
environment.
Gateway endpoint
The list is served by GET /email-accounts/@me. It resolves the current broker
from the authenticated session and the tenant, and returns the broker's own
accounts plus every account shared within the broker's brokerage firm. The
endpoint is internal and is not part of the public partner API.