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.

445 B
Raw Blame
import type { EmailEntity } from '@entity';
import { openDialog } from '@ui';
import { EmailReminderComposer } from './views/email-reminder-composer';

/** Every email entry point shares the same command menu. */
export function openReminderComposer(
  entity: Pick<EmailEntity, 'id' | 'name' | 'type'>,
  options?: { onCreated?: () => void | Promise<void> }
) {
  openDialog(EmailReminderComposer, { entity, onCreated: options?.onCreated });
}