Hi everyone,
I have been reading most of the post related to tags and several articles, but I can't seem to find an answer to this: Is it possible to search for tags?
I have managed to add custom actions to add and remove tags to emails. Those are displayed in view fields as per:
(setq mu4e-view-fields '(:from :to :cc :subject :flags :date :maildir
:mailing-list :tags :attachments))
Most solutions working with Gmail evolve about adding/removing the \Inbox tags for archiving emails or \Starred. I have added Magnus code for the prehook and also the code from Damien Cassou to archive messages by doing:
(defun my:mu4e-remove-message-from-inbox (msg)
(mu4e-action-retag-message msg "-\\Inbox"))
Regardless of what I do, I can't display the tags on mu4e, nor search for those using mu. mu find \Inbox fails with no results.
At the begining I though this was related to the config items of offlineimap. I double checked the synclabels = yes, labelsheader = X-Keywords configuration was set, but I got no success.
I looked for information about searching for tags in all examples, but I haven't seen any note regarding this kind of search. I have found information about filtering by flag, subject but none about tags.
Is there any argument to look for tags in mu/mu4e? Would it work with special tags like \Inbox or \Starred?
Best,
César