Re: Query by how many messages are in thread?

Subject: Re: Query by how many messages are in thread?

Date: Sat, 12 Aug 2023 15:00:44 -0500

To: Lars Kotthoff, notmuch@notmuchmail.org

Cc:

From: Tim Culverhouse


On Sat Aug 12, 2023 at 1:28 PM CDT, Lars Kotthoff wrote:
> Hi all,
>
>  I was wondering whether there's a way to query threads that have a certain
>  number of messages, in addition to matching the rest of the query. I'm trying
>  to find threads where I have sent an email (easy enough by just matching
>  "from") but where I haven't gotten a reply yet (i.e. there's only one message
>  in the thread), so that I know to follow up. If you can think of another way
>  of doing this, that would be great as well!

Hi Lars -

Try this:

`notmuch search "<your-query>" | grep "\[1/1]"`

-- 
Tim
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: