Skip to main content

chainmail flags

Add and remove flags such as \Seen, \Flagged and keywords. Refs come from the arguments, or one per line on stdin when the only argument is -.

Usage​

chainmail flags <ref>... [--add <flag>]... [--remove <flag>]... [flags]

Examples​

chainmail flags cm1:work:INBOX:7:42 --add '\Flagged' --remove '\Seen'
chainmail flags cm1:work:INBOX:7:42 --add todo

Flags​

--add stringArray a flag to add: \Seen, \Flagged, \Answered, \Draft or a keyword (repeatable)
--remove stringArray a flag to remove: \Seen, \Flagged, \Answered, \Draft or a keyword (repeatable)

Global flags​

--output string output format: json or table (default $CHAINMAIL_OUTPUT, then cli.toml, then table on a terminal, json otherwise)
--socket string daemon socket (default $CHAINMAIL_SOCKET, then cli.toml, then /run/chainmail/chainmail.sock)

See also​