In talking with Patrick on IRC, it came up that the python bindings apparently lack support for the tag exclusion API, which has been in libnotmuch for almost a year. Did I miss something? If not, would you minding adding that to your TODO list for the binding? It would be nice if all frontends had access to the same exclude mechanism since it is the natural way to handle e.g. spam and deleted messages. All the best, David