On 2025-11-18 at 14:59:16 UTC-0500 (Wed, 19 Nov 2025 08:59:16 +1300)
Rob Russell via mailmate <[email protected]>
is rumored to have said:

Hi all,

I want to extract just the subjects for a year's worth of messages in a particular smart mail box for analysis.

I don't see any AppleScript commands that might do this and exporting the messages to a folder and then writing a script to grep the subject lines seems like a bit of a mission. Before I set off on that mission, is there something obvious I am missing?

It strikes me as a very trivial "mission." An exported mailbox is just text, so if you have an exported mailbox named 2025.mbox:

  grep '^Subject: ' 2025.mbox | grep -o ' .*'

Will give you all the subjects without the leading "Subject:" tag



--
 Bill Cole
 [email protected] or [email protected]
(AKA @[email protected] and many *@billmail.scconsult.com addresses)
 Not Currently Available For Hire
_______________________________________________
mailmate mailing list
Unsubscribe: https://lists.freron.com/listinfo/mailmate

Reply via email to