mailmd command reference #

Copy your mailbox into Markdown files

Commands #

Global flags #

  • --config-root Folder for mailmd's settings and logins (default: $MAILMD_CONFIG_ROOT, or your user config folder)
  • --dry-run Preview changes without performing them
  • --include-meta Wrap the JSON output as {data, meta} with request details
  • --jq Filter the JSON output with a jq expression
  • --json Output stable JSON instead of the human view
  • --no-ansi Disable all ANSI/control sequences in human output
  • --no-color Disable color in human output
  • --no-pager Never use a pager for long human output
  • --no-prompt Never block on an interactive prompt
  • --plain Print text without color or formatting
  • --quiet Suppress non-essential output
  • --template Format the JSON output with a Go text/template
  • --verbose Show the details when mailmd can't read an IMAP server's answer