Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

494 B
Raw Blame
import { useEmailLinksContext } from '@core/context/emailLinks';

/**
 * Predicate: is this macro id a connected secondary inbox (an extra mailbox the
 * current user attached to their own account, `!is_primary`) rather than a real
 * user. Not to be confused with a delegated/shared inbox, which is a separate
 * loggable user (its own macro id) and reports `is_primary = true`.
 */
export function useIsConnectedSecondaryInbox() {
  return useEmailLinksContext().isConnectedSecondaryInbox;
}