Skip to main content

chainmail folder delete

Delete a folder; INBOX and role folders are refused (disabled unless policy allows it)

Usage​

chainmail folder delete <name> --account <account> [--force] [flags]

Examples​

chainmail folder delete Old --account work
# also delete the mail in it
chainmail folder delete Old --account work --force

Flags​

--force delete the folder even when it holds mail, and the mail with it (on Google the messages stay in All Mail)

Global flags​

--account string the account the folder is on (required)
--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​