<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 7 Nov 2017, at 15:37, Marc ARC wrote:</p>

<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">A gentle nag about a feature we discussed below.</p>
</blockquote>

<p dir="auto">It's still a somewhat confusing feature (to me). I had to read the thread again to get back on track :-)</p>

<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB">
<blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB">
<p dir="auto">I think GUI-wise the "new-move" version could look like this</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">[From] [is in] [Mailbox/SmartMailbox] [From]

[Generic Move to first matched Source Mailbox of]  [Mailbox/SmartMailbox]
or
[Dynamic Move to first matched Source of]  [Mailbox/SmartMailbox]
or
[Fuzzy Move to Source of]  [Mailbox/SmartMailbox]
</code></pre>
</blockquote>

<p dir="auto">I think this illustrates that it's hard to make such a feature intuitive. A better (and cleaner) approach would be to make the action independent of the conditions. The action could then be something like:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">Move to Related Mailbox based on [Header] in [Mailbox]
</code></pre>
</blockquote>

<p dir="auto">When [Header] means the actual functionality we have for filtering on “header contained info” then this will be a great feature.</p>
</blockquote>
</blockquote>

<p dir="auto">It would only allow exact matches on any header specifier, e.g., “From ▸ Address”, but I also think that would be good enough. Otherwise, I would need some use case examples.</p>

<p dir="auto">Maybe I should rewrite it a bit:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">Move Using [Header] in [Smart Mailbox]
</code></pre>

<p dir="auto">This emphasizes that the header is the important part and that it primarily/only makes sense to have a smart mailbox on the right hand side such that more than 1 IMAP mailbox can be involved.</p>

<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB">
<p dir="auto">The “Mailbox” could be any smart or IMAP mailbox/account. It would trigger MailMate to look for the first message in Mailbox with the same header value. When found, the new message would be moved to the same IMAP mailbox as the found message. It would be like an IMAP mailbox variant of the Submailboxes feature for smart mailboxes.</p>

<p dir="auto">This would allow a worst case near-linear running time if a large number of messages are “moved” (linear in terms of the size of the mailbox used in the action).</p>

<p dir="auto">Note that in this case there would be no need for a condition for the rule except for maybe limiting the messages triggering the action.</p>

<p dir="auto">A somewhat related feature would allow simply creating IMAP mailboxes based on a header value:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">Move to Submailbox of [IMAP Mailbox/Account] based on [Header]
</code></pre>
</blockquote>

<p dir="auto">This would be a nice to have, and I already see some use for it.<br>
From a “what I like to have first” point-of-view this is last on my list.</p>
</blockquote>
</blockquote>

<p dir="auto">Ok. Let's focus on the above.</p>

<p dir="auto">-- <br>
Benny</p>
</div>
</div>
</body>
</html>