Re: Create tags from folders

Subject: Re: Create tags from folders

Date: Mon, 08 Aug 2022 17:30:29 +0300

To: Notmuch mailinglist,


From: Tomi Ollila

On Sun, Aug 07 2022, Notmuch mailinglist wrote:

> Hello,
> I've managed to get mbsync, notmuch and neomutt all setup. But its now time for fine tuning and tinkering.
> My email is from Protonmail and I use sieve filters to organise my mail as needed into folders.
> Mbsync creates a folder structure which mirrors what is on my proton mail account.
> But is it possible for notmuch to create tags based on the folders within my mail directory and tagging the mails..
> Basically what I want is
> "if mail in folder1 tag as folder1"
> Hope this makes sense.

The question one can make based on the other reply is why tag based on
folders, and just not use folder queries finding the mails in these

It is kinda duplicate information to have mail tagged with same name
as the folder it is located in... but there may be reasons one would
like to do such a thing -- and at least I am interested (at least a bit)


notmuch mailing list --
To unsubscribe send an email to