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.

Smart mailboxes & tags: "Exist" option?

#791

Reported by Meindert · May 28th, 2014 @ 04:20 AM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. Meindert
    Meindert

    I'd like to make a smart mailbox that holds all messages that have tags or keywords, and has subfolders for each specific tag and keyword. To do this it seems like I'd need, in addition to "includes" and "does not include," an "exists" option, but there isn't one.

    May 28th, 2014 @ 04:22 AM

  2. Mike
    Mike

    Have you tried the following condition?

    Conditions: "#Tags" "is not" "" <– textfield empty
    Submailboxes: "#Tags" –> Mailbox name format "${##tags}"

    Unfortunately the subfolders are named with the IMAP-keyword and not with the tag name.

    May 29th, 2014 @ 08:11 PM

  3. benny
    benny
    • State changed from new to accepted

    @Meindert: Mike gave you the currently best solution I believe, but you are probably right that an “exists” option is needed although in this case it doesn't matter much since all non-tagged messages are just put into an “Other” mailbox. Another known problem is that “Submailboxes” does not yet handle multi-value headers well. This is a problem if you use multiple tags on a message.

    May 29th, 2014 @ 08:48 PM

  4. benny
    benny
    • State changed from accepted to fixcommitted

    January 22nd, 2015 @ 12:28 PM

  5. benny
    benny
    • State changed from fixcommitted to fixreleased

    March 24th, 2015 @ 12:16 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.