can a notmuch query filter the output based on the size of a thread?

Daniel Kahn Gillmor dkg at
Mon Nov 11 10:40:10 PST 2019

On Mon 2019-11-11 09:48:47 -0800, Jameson Graef Rollins wrote:
> On Mon, Nov 11 2019, Daniel Kahn Gillmor <dkg at> wrote:
>> Over on, a user asks:
>>>  I would like to query for `mailcount`, for example
>>>  to search for mails on a mailing list which got answered 
>>>  `:search tag:list/questions and mailcount>1`
>>>  or
>>>  `:search tag:list/questions and not mailcount:1`
> I'm not sure I understand what the question is.  They want to count
> messages, i.e. "notmuch count"?

nope, i think they want:

   - show me all threads where:
      - at least one message has the tag 'list/questions', and
      - at least two distinct messages are present

does that make more sense?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the notmuch mailing list