I’m not using the import automation from DT as far as “pulling data from a mail application” is concerned. That one is a very manual process. I’m pushing the mails into the inbox directory from where DT is going to pick it up.
- Outlook is used to pull the mail off the Exchange Server and push it into a local IMAP server.
If the mail was “hooked”, I’d expect to that status not to change at this point.
Internally, the IMAP server will store that mail as a .eml file format, with a mostly random filename, into the file system.
- As a file system copy operation (cp), that file will be copied into Devon Think’s global Inbox folder
In the process of that, the file name is changed to a variation of the Subject: header of the mail. Variation, as some mail subjects have characters that won’t work in a file system, and also, some Subject Fields have UTF-8 encoded parts. Those are decoded. Finally if in the target folder, a file with the same name already exists, then a “.” is added to the end of the file name until we have a unique file name…
Basically, you can’t go by Subject header. That one will vary.
- DevonThink suddenly sees a wild mail appearing, and imports it.
I think that’s a hard one to solve. A hash over a part of the email that won’t change (essentially all headers except subject are candidates) may be a way.
One thing, unrelated, that I keep thinking: It would be great to have a Finder extension (similar to Dropbox) where you can see immediately that some “Hook” exists. At least, a tag that we could set automatically. I often hook things together now, but I keep just pushing the hotkey to see if there’s some hook behind.