Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
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;
}