/** * `email-mcp open` — jump from the terminal to an email in the native client. * * email-mcp open [--mailbox INBOX] [--account NAME] [--print] * * Builds a `message://` deep link from the email's Message-ID and hands it to * macOS Launch Services, which opens the message in Mail.app regardless of * which mailbox it has since been moved to. `--print` (and any non-macOS * platform, which has no `message:` handler) writes the bare URL to stdout * instead, so it can be piped into reminders, notes, or other tooling. */ export interface OpenPlan { action: 'launch' | 'print'; url: string; /** Why the plan fell back to printing (surfaced as a hint on stderr). */ reason?: string; } /** Decide whether to launch the mail client or print the URL. */ export declare function resolveOpenPlan(opts: { url: string; print: boolean; platform: NodeJS.Platform; }): OpenPlan; export default function runOpenCommand(argv: string[]): Promise; //# sourceMappingURL=open-command.d.ts.map