Is it possible to update the Add message(s) to DEVONthink.scpt script so that it keeps the tags that I’ve assigned to an email?
One thing that I loved about MS Outlook was that I could assign a category to an email. That made it easy to search my emails based on category. Apple Mail doesn’t have that, but I have been demoing Mail Tags, https://smallcubed.com/mt/ and it is working great.
The problem I currently have though is if I tag an email, and then import it into DTPO, the tag doesn’t carry over.
I looked at the script, and this is the part where the variables are assigned for Date, Subject, etc:
tell theMessage
set {theDateReceived, theDateSent, theSender, theSubject, theSource, theReadFlag} to {the date received, the date sent, the sender, subject, the source, the read status}
end tell
This part is where we’re telling DTPO to create item using the value from the variables defined above:
tell application id "DNtp" to create record with {name:theSubject & ".eml", type:unknown, creation date:theDateSent, modification date:theDateReceived, URL:theSender, source:(theSource as string), unread:(not theReadFlag)} in theGroup
So my question is what is the mail tag equivalent in Apple Mail, and the tag in DTPO to make the update?
Thanks in advance!