Search code examples
gmailimapmuttgmail-imap

How to manage Gmail labels in mutt


Is there a way to manage Gmail lables(Virtual folders) with mutt??


Solution

  • Quoting this source,

    A very cool gmail feature is the ability to add label to emails (also called "tags" in other contexts), and then view only mails with a given label.

    There is a semi-standard email header called "X-Label" which can be used to store labels. mutt supports searching it, filtering views according to the value, and showing it in the index view; but it doesn't allow you to change it (although there are patches).

    There are some useful code snippets in the link above.