Keyboard Maestro “Extract FirstName, FamilyName, Organization and email from sender” Macro
The macro works on the Sender of a mail, which may be in 'friendly' format
e.g. Peter N Lewis {peter@stairways.com.au}
or just the email address alone (peter@stairways.com.au). In this second case, the macro tries to derive the person's name and their organization directly from email address
It has its imperfections and I welcome any improvements, particularly to the regex.
This is a really useful and powerful script, but I'm getting a lot of empty returns on everything except the derived names, especially on my university's Exchange server, where most return addresses have the form: