Michal Nazarewicz <mina86@mina86.com> writes: > On Wed, Nov 28 2012, Tomi Ollila wrote: >> I could not find it in the docs (looked wiki mainly) but one of the >> principles notmuch currently operates that the *contents* of the email >> files it reads are not ever modified. i.e. the email files are read-only >> from notmuch (cli) point of view. > > This is only a problem if you want to modify the labels in the email and > sync them back to Gmail though, right? Right. But without that, the whole thing could be scripted pretty easily I think, just parse the x-labels header and use notmuch-deliver or something like that. d