gmailctl: Auto-create missing labels on apply

I just applied my shiny new rule and …

error adding filters: error exporting filter #0: error in export action: label 'redacted' not found

…ouch. It’d be nice if labels could be auto-created when required.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

My current idea is to add a section in the config with the complete list of labels. If this is present, then it is synced with the Gmail settings. To ease the migration I can also extend the download functionality. Perhaps the color can come at a later stage, but it should be easy to add.