Skip to content
Briskmail
Get early access

Briskmail Works with Automation consent

briskmail open

Bring Briskmail's window forward on a conversation, a search or a folder.

Taught in lesson 2, Triage your inbox with an agent.

Usage

briskmail open <message-id>
briskmail open --search <query>
briskmail open --folder <name>

Give exactly one of a message id, --search or --folder.

Needs macOS Automation consent and no switch.

Arguments and flags

<message-id>
Gmail's id for a message. Opens its conversation, or, for a draft, the draft in a compose window, where a save updates that same draft. Not with --search or --folder.
--search QUERY
Run a search, in Gmail's search syntax, as if you typed it into the search field. Not with <message-id> or --folder.
--folder NAME
Open a folder (Inbox, Starred, Sent, Drafts, All Mail) or one of your labels, by the name the sidebar shows. Not with <message-id> or --search.

Global flags

--account ID
An account id, as briskmail accounts prints it. Leave it out to use the first account. Accepted before or after the command.
--dev
Send the command to the dev build (com.valleyedgeconsulting.edgemail.dev) instead of Briskmail. Only useful when working on Briskmail itself.

Exit codes

CodeMeaning
0Done. Prints ok.
2Not allowed. macOS refused Automation for the app you ran it from (-1743).
3Briskmail reported an error, printed on stderr.
64Bad usage: none of the three, more than one, or an unknown flag.

Examples

briskmail open --search "from:dana@example.com is:unread"
ok

The search runs in the window. Nothing about the results comes back.

briskmail open --folder Starred
ok

The CLI comes inside Briskmail.

Install the app and the briskmail command is in its bundle. 7 days free, then pay once.

Get early access