chainmail item link
File the thread of a message against an item; moving the message keeps the link
Usage
chainmail item link <id> <ref> [flags]
Examples
chainmail item link it_01jcb7m2k9r8q3v4w5x6y7z8a9 cm1:work:INBOX:7:42 --anchor --note "the renewal notice"
# then find the item's mail
chainmail search item:it_01jcb7m2k9r8q3v4w5x6y7z8a9
Flags
--anchor make this message the link's anchor, the one the item is about
--note string why the thread belongs to the item (default: keep the note it has)
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)