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.

Source Mailboxes for Correspondence View

#3432

In correspondence view, is it possible to select which mailboxes show up (or alternatively, exclude a mailbox from showing up)?

Thanks!

Reported by X X · May 26th, 2025 @ 11:44 AM

State: resolved
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny

    Could you be a bit more specific? Do you mean in the mailbox list or do you mean which messages are included in the correspondence list?

    May 27th, 2025 @ 02:35 PM

  2. X X
    X X

    I'm sorry. I meant in the Correspondence pane (where it shows all emails from a specific sender), can I select which messages are included in this pane/list (by selecting which mailboxes to include as sources just for this pane/list)?

    May 27th, 2025 @ 08:08 PM

  3. benny
    benny

    By default this is the “All Messages” mailbox and unfortunately this is hardcoded in the layout-file. In theory, you can make your own layout-file in which you use a different mailbox, but I'm not sure it's that important to you :) Let me know.

    It's the same for “Thread Arcs”.

    In both cases, it would be nice if it was easily configurable, but quite often I think it would then also need to depend on the currently selected mailbox.

    June 5th, 2025 @ 01:16 PM

  4. X X
    X X

    Thanks for clarifying.

    Just for some added context. I suffer from the problem in issue #2145, and implemented the workaround there. Things have been okay for a large part, but one annoying issue is that these duplicate messages still appear in the Correspondence pane, and I wish I could get rid of them somehow.

    I have made a smart mailbox that is like All Messages but without one copy of these messages, so if the layout file is easily editable, I can use that instead, perhaps. Just need to know how where to find it and how to edit it.

    If a more permanent solution to #2145 is in the works, then I think that will fix things, and can always wait it out.

    Thanks again, and appreciate your work on the app.

    June 9th, 2025 @ 01:31 PM

  5. benny
    benny

    Ah yes, certainly a very common issue, but I just find it very hard to come up with a good solution.

    The layout file needs to go here:

    ~/Library/Application Support/MailMate/Resources/Layouts/mailboxes/
    

    And you can just copy the one from within the MailMate application bundle (named correspondence.plist).

    June 11th, 2025 @ 01:29 PM

  6. X X
    X X

    Thank you. I have copied the correspondence.plist file, but I'm having trouble editing it to get what I want as I'm not familiar with these plist files. I think, at the very least, this line should be updated:

    transformation = "$mainOutline or $ALL_MESSAGES.filter((from.address = $mainOutline.from.address and #recipient.address = $mainOutline.#recipient.address) or (from.address = $mainOutline.#recipient.address and #recipient.address = $mainOutline.from.address))";
    

    I see $ALL_MESSAGES is some sort of variable. I already have a smart mailbox that I want to use as a source and I named it "All Messages +". How do I replace $ALL_MESSAGES with it? Hopefully, it's a straightforward thing but let me know if it's a bit more involved. I tried a few things with ChatGPT and was not successful :)

    June 15th, 2025 @ 08:30 AM

  7. benny
    benny

    Select the mailbox in MailMate and then hit command-C to copy the value you need to the pasteboard.

    June 15th, 2025 @ 10:31 AM

  8. X X
    X X

    Ah, that is a very nifty little feature! I remember there were IDs but couldn't figure out how to get them.

    This is now working as intended. Thanks a bunch, benny!

    June 15th, 2025 @ 01:45 PM

  9. benny
    benny
    • State changed from new to resolved

    June 15th, 2025 @ 06:48 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.