Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Filtering mails related to mails in a specific mailbox

#224

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".

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

State: resolved
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • 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.

    January 24th, 2012 @ 11:24 PM

  2. Malte Tancred
    Malte Tancred

    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.

    January 24th, 2012 @ 11:56 PM

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.