Hi,
Obviously, Apple changed the way emails are sorted in Mail mailboxes in the depths of the user’s library folder in Lion.
Getting the path to the mailbox itself and the email name using AppleScript is an easy task; what I’m missing is a way do get the part between the two.
In Snow Leopard, it was very predictable, as follows:
Now this is how it looks like in Lion:
An experienced user will understand that the last half part of the path is not constant. That IS my problem, since I need the full POSIX path to an email.
I can’t find any information across the Internet relating to this issue. I hope someone here could help me out with a clever solution.
Cheers,
Yannick Gauthier
Model: iMac 27"
Browser: Safari 534.53.10
Operating System: Mac OS X (10.7)