#111 new

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

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

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?

Comments and changes to this ticket

  • benny

    benny April 21st, 2011 @ 01:21 PM

    • Assigned user set to “benny”

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

  • Thibaud

    Thibaud April 21st, 2011 @ 02:59 PM

    Yes, that is what I mean!

  • benny

    benny May 4th, 2011 @ 10:04 AM

    • 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.)


  • benny

    benny May 4th, 2011 @ 10:11 AM

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

  • Thibaud

    Thibaud May 4th, 2011 @ 10:22 AM

    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.

  • benny

    benny September 22nd, 2022 @ 11:43 AM

    • State changed from “bluesky” to “new”

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