In Mail app I work with many smart mailboxes and I and usually need to jump to the mailbox where the message is really filed.
It's the same with search results – I usually need to locate the folder (mailbox) where a message I selected in the result view is filed.
For previous versions of Apple Mail (at least up to Mavericks) I could do the same as I did in many other applications to locate the folder of the opened document in a window.
In the case of Mail.app:
- Open the message (double-click)
- Right-click the windows title bar where the subject of the message
appear - You will see the path of that message
- Select the desired folder
When I moved from Maverick to Sierra I sadly discovered that the previous approach did not work any more.
How can I fix this or achieve the same functionality?
Best Answer
Solution using AppleScript
The solution I found was to create an Automator service and associate it to a shortcut.
Service receives selected
>>no input
in
>>Mail.app
Test the service
Mail
>>Services
. You should see your new serviceYour selected and active mailbox should be the mailbox of the previously selected message.
Optional
Assign a shortcut (e.g. CONTROL-COMMAND-J) to your service:
System Preferences
>>Keyboard
>>Shortcuts
>>Services
.The Code