Page 1 of 1

rename .eml (apple mail) email with senddate

PostPosted: Mon Jan 11, 2021 9:09 am
by rue
Hi,

After manually dragging emails out of apple mail (Big Sur) to a target folder
I'd like to have Hazel rename the *.eml file with the emails' send-date, or the day I received the email.
date created / date modified does not work.

Re: rename .eml (apple mail) email with senddate

PostPosted: Mon Jan 11, 2021 11:35 am
by Mr_Noodle
You'll probably have to do it based on Contents. Look up "match patterns" in the manual for details on how to use custom attributes and pattern matching to pull that info out.