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.

593 B
Raw Blame
import type { EmailMessage } from '../../email-message/core/email-message';

/** Feature-owned values. Transport adaptation belongs to queries. */
export interface EmailThread {
  access_level: 'view' | 'comment' | 'edit' | 'owner';
  db_id: string;
  created_at?: string;
  updated_at?: string;
  inbox_visible: boolean;
  /** Only threads with received mail can return to the inbox. */
  has_received_mail: boolean;
  is_read: boolean;
  latest_inbound_message_ts?: string | null;
  link_id: string;
  messages: EmailMessage[];
  project_id?: string | null;
  provider_id?: string | null;
}