Page 1 of 1

Apple Mail

PostPosted: Mon Aug 01, 2016 3:33 pm
by Paul1762
I would like to know if Hazel can help me sort my 4 email inboxes into one Inbox... I am using Apple Mail...

does anyone know if this is possible? or has anyone done this?

Paul

Re: Apple Mail

PostPosted: Tue Aug 02, 2016 11:47 am
by Mr_Noodle
For that, I suggest using Mail's own rule system as Hazel is not really meant for mail messages.

Re: Apple Mail

PostPosted: Mon Apr 15, 2019 10:35 am
by BernSh
Along these same lines, I can get a contents/content match to match an email address in an email on the Desktop but I can't get Source URL/Address to recognize author email addresses, email addresses, or recipient email addresses. Nor can I get anything to match with author email addresses, email addresses, or recipient email addresses. Should I be able to?

Re: Apple Mail

PostPosted: Mon Apr 15, 2019 10:48 am
by Mr_Noodle
I'm guessing Spotlight is not indexing that info. If you do "Get Info" in Finder on the email, does it show a "Where froms"?

Re: Apple Mail

PostPosted: Sun Jul 14, 2019 6:41 am
by BernSh
Yes, it isn't showing who it is from. Running the "mdls" command on an email on the desktop shows:
Berns-iMac:~ BernsHome$ mdls /Users/BernsHome/Desktop/Re_\ Out\ Today.eml
_kMDItemDisplayNameWithExtensions = "Re_ Out Today.eml"
kMDItemAlternateNames = (
"Re_ Out Today.eml"
)
kMDItemContentCreationDate = 2019-07-13 10:48:05 +0000
kMDItemContentCreationDate_Ranking = 2019-07-13 00:00:00 +0000
kMDItemContentModificationDate = 2019-07-13 10:48:05 +0000
kMDItemContentType = "com.apple.mail.email"
kMDItemContentTypeTree = (
"com.apple.mail.email",
"public.item",
"public.data",
"public.email-message",
"public.message"
)
kMDItemDateAdded = 2019-07-13 10:48:05 +0000
kMDItemDateAdded_Ranking = 2019-07-13 00:00:00 +0000
kMDItemDisplayName = "Re_ Out Today"
kMDItemFSContentChangeDate = 2019-07-13 10:48:05 +0000
kMDItemFSCreationDate = 2019-07-13 10:48:05 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 16
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 1
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "Re_ Out Today.eml"
kMDItemFSNodeCount = (null)
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 10304
kMDItemFSTypeCode = ""
kMDItemInterestingDate_Ranking = 2019-07-13 00:00:00 +0000
kMDItemKind = "Email Message"
kMDItemLogicalSize = 10304
kMDItemPhysicalSize = 12288
Berns-iMac:~ BernsHome$

I'm reindexing to see if that makes any difference.

Related question: Can Hazel monitor the Apple Mail inbox for new mail and move it to another location? Moving mail from the library folders found at ~/Library/Mail/V6 gives a less descriptive file name than the results of files dragged from the inbox. I know you've said elsewhere that Hazel isn't really for handling email so I know this is a stretch. Thanks!

Re: Apple Mail

PostPosted: Mon Jul 15, 2019 11:32 am
by Mr_Noodle
I would highly recommend against having Hazel monitor and process Mail's files. It can impact Mail's operation and possibly result in corruption of your mailboxes.

Your best bet is to have Mail copy those messages somewhere else where Hazel can monitor it.