#224 ✓resolved
Malte Tancred

Filtering mails related to mails in a specific mailbox

Reported by Malte Tancred | January 24th, 2012 @ 10:53 AM

I want a smart mailbox that can handle the following setup:

  1. include all messages in Mailbox1,
  2. plus any message from Mailbox2 that relates to a message in Mailbox1.

To give a concrete example, consider such a smart mailbox where Mailbox1 is "Waiting for reply" and Mailbox2 is "All Messages". I'd put a message in "Waiting for reply" and as soon as a reply or follow up arrives, it'd show up in "Waiting for reply".

Perhaps it's a new filter condition I'm after: E.g., set "Show messages in" to "Mailbox1 OR Mailbox2", then set "Under the following conditions" to the new condition "Related to -> Messages in Mailbox1".

Comments and changes to this ticket

  • benny

    benny January 24th, 2012 @ 11:24 PM

    • State changed from “new” to “resolved”
    • Assigned user set to “benny”

    This is a good question and it allows me to write about a feature which I think is quite unique among email clients. There is a special comparison method named “is in” which can do what you want. You could create a smart mailbox which shows messages in “Mailbox2” with the following condition:

    In-Reply-To [is in] Mailbox1 Message-ID
    

    That would be item 2 of your request.

    And then make another smart mailbox which both shows the one above and the messages of Mailbox1. Obviously this could also be done in other ways. The essential part is the “is in” comparison method.

    This would work well with a custom IMAP keyword bound to a key using custom key bindings (see toggleTag:). You could then mark any message for which you expect a reply and create one or more smart mailboxes which keeps track of such messages. Maybe even keep track of messages which are unreplied for more than x days.

    Have fun ;-) And let me know if something does not work as expected.

  • Malte Tancred

    Malte Tancred January 24th, 2012 @ 11:56 PM

    Perfect! This is precisely what I was looking for. I simply didn't see the "is in" qualifier.

    Great tip on the use of IMAP keywords as well.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages