<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto">On 30 Apr 2024, at 4:42, aisrael wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;">
<p dir="auto">I would like to include in a mailbox the messages which are waiting for an answer (this is easy : I just tag them, and create a smart mailbox that contains these tagged emails (but there may be other ways), but more complicated : I would like to remove them from this smart mailbox (for example by untagging them) when they receive an answer. I am pretty sure this problem has been treated in the past in this forum, but I can’t seem to find the right conversation.</p>
</blockquote>
<p dir="auto">What you want is a rule that:</p>
<ol>
<li>Detects that an incoming message is a part of a thread.</li>
<li>That the previous message (or perhaps a previous message) in the thread is tagged with "awaiting-reply" (or whatever).</li>
<li>Removed the tag from the tagged message.</li>
</ol>
<p dir="auto">Or, alternately, a rule on the virtual mailbox that contains the tagged messages that removes the tag when a reply is received:</p>
<ol>
<li>Message contains the tag.</li>
<li>Thread of the message has a later message.</li>
<li>Action: remove the tag.</li>
</ol>
<p dir="auto">I don't know you would do this. My experience with rules is that they act on a message based on criteria of the message (as opposed to checking a different message).</p>
<p dir="auto">--Randall</p>
</div>
</div>
</body>
</html>