I have several email accounts on a Mac.
With a simple IMAP account, the messages are in
/Users/[user name]/Library/Mail/V[a number]/IMAP-[email adress]/INBOX.mbox/
However, Apple Mail seems to hide the messages away differently if you are using gmail. If I go to the same folder scheme -- nothing there.
More specifically, I am looking for a way to find only the Sent messages. I have been able to locate an ALL messages folder at:
/Users/[user name]/Library/Mail/V3/IMAP-[email address]@imap.gmail.com/[Gmail].mbox/All Mail.mbox/
But how do I separate out the sent messages?
Sent Mail.mbox directory only has a .plist file in it even though there are thousands of sent messages. Doing a file count on the
All Mail.mbox makes clear that that is literally all the mail (sent, received, drafts, etc) Looking at the
.emlx header it is not obvious what would differentiate one from the other.