Read and organize
briskmail unlabel
BuiltRemove a label from a message.
Usage
briskmail unlabel <message-id> --label <name-or-id>Runs only while Let apps read and organize my mail is on. With it off, the command exits 2 and names the switch.
Arguments and flags
<message-id>required- Gmail's id for the message, from list or search.
--label NAMErequired- Existing user label name or id.
Global flags
--account ID- An account id from accounts.json. 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
| Code | Meaning |
|---|---|
| 0 | Done. Prints ok. |
| 2 | Not allowed: macOS refused Automation for the app you ran it from (-1743), or this command's switch is off. The message names the switch. |
| 3 | Briskmail reported an error, printed on stderr. |
| 64 | Bad usage. |
Examples
briskmail unlabel 18f2a9c4be01d7a3 --label Clients
ok