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.

276 B
Raw Blame
import type { EntityData } from '@entity';

/** A done email thread returns to the inbox only if it has received mail. */
export const canMarkNotDone = (entity: EntityData): boolean =>
  entity.type === 'email' &&
  entity.done === true &&
  entity.hasReceivedMail !== false;