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.

Merge different e-mail adresses of one entity in Corresondence layout

#111

Hello !

Apparently, the right signature is chosen by Mailmate according to the identity, and not only the e-mail address, of the destinatory of the message. (I define by identity a moral or physical person, which can have several different e-mail adresses.)

However, it seems not to be the case in the Correspondence layout. I would like to have access to the mails sent to and received from different e-mail adresses of one contact in this view :)

Do you think that would be an interesting feature?

Reported by Thibaud · April 12th, 2011 @ 12:03 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • Assigned user set to benny

    You mean based on the email addresses for a single contact in the Address Book?

    April 21st, 2011 @ 01:21 PM

  2. Thibaud
    Thibaud

    Yes, that is what I mean!

    April 21st, 2011 @ 02:59 PM

  3. benny
    benny
    • State changed from new to bluesky

    I do see the value of this, but currently it is a non-trivial change. I'll keep it in mind, but in order to not really promise anything I'll mark it as “bluesky” (not for 1.x). The following are more or less useful thoughts on the subject.

    A solution should also work for multiple addresses for both sender and recipient.

    One workaround could be to base the correspondence view on name instead of on email address, but it is also my experience that people vary the name they use and not just the email address... And of course some times people do have identical names (although that may be a minor problem in practice).

    Taking this one step further, the match could be on either name or email address. This would probably find all communication in most cases (and maybe a bit more).

    It is possible to experiment with this yourself using a custom layout as described here: http://blog.freron.com/2010/widescreen-layout/. You should then locate and copy the layout named correspondence.plist and look for and change the value of the following key:

    transformation = "$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))";
    

    You could change it to the following to match on name:

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

    Or you could combine them.

    (The format of layout files are subject to change, but probably not any time soon.)

    [state:bluesky]

    May 4th, 2011 @ 10:04 AM

  4. benny
    benny

    I fixed the layout of my answer. Lighthouseapp is great, but this formatting problem is getting on my nerves...

    May 4th, 2011 @ 10:11 AM

  5. Thibaud
    Thibaud

    A lighter implementation could be to divide the problem in two distincts parts.

    The first part would use the e-mail address in the header From (or To) to retrieve the contact name in the Address Book. Once the contact name is known, MailMate would have to look for all e-mails that have one of the e-mail addresses associated to the contact name in their header and would have to include them in the correspondence layout.

    The second part concerns an e-mail address that is not found in the Address Book and the strategy you described above seems nice.

    Using this pattern, MailmMate would work with the contact name of the Address Book instead of the name indicated in the header of the e-mails. Of course, it supposes unicity of both e-mail addresses and contact name in the Address Book.

    May 4th, 2011 @ 10:22 AM

  6. benny
    benny
    • State changed from bluesky to new

    September 22nd, 2022 @ 11:43 AM

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.