[PATCH] Syncing gmail labels for gmail accounts

Abdó Roig-Maranges abdo.roig at gmail.com
Wed Nov 28 18:19:47 GMT 2012


>> This way, you loose performance on large tag modifications (not done very often), but things
>> become simpler, plus you gain the ability to sync your maildir between machines (between
>> desktop and laptop, for instance) with tools like rsync or unison, without having to worry
>> about the tags that only live in the database.
> But what about search speed?

Search speed is similar in mu and notmuch, as both use xapian for
indexing. The main differences are the user interfaces, and how they
handle tags. for notmuch tags have a more central role, whereas for mu
tags are only one more piece of data being indexed.

I told you why I think that right now it is better mu's approach for
this particular case of handling gmail labels, but at the end, if
notmuch can be made to plays well with the embedded labels, the choice
between one or the other might be just a matter of taste.

> I mean, some kind of a database needs to be present to make searching
> fast. But I assume, notmuch changes, when changing a tag, the
> database, whereas mu changes the email *and* the index.

Yes. mu does not change tags by itself, only indexes messages. I change
tags from the outside, with a little script. It involves changing a file
and updating mu's database after all tags are modified.


More information about the OfflineIMAP-project mailing list