Hi, I have set a rule that exports all my emails from Apple Mail to DT3 using Apple scripts. If I want to manually move an email, I first move it to Yoink, then to DT3, and it works too. ![]()
Are you using our mail rule scripts?
Yoink is a cool utility (and the developer is a super nice guy!) but note you can also drag directly to the database or to the Finder then into DEVONthink as well.
- Drag and drop to what?
- If to the dock icon, thatās not supported. See the previous two replies in this thread.
- Drag and drop does not work: Logs: ā03/10/2023, 17:27:22: Apple Mail Import of 1 messages failed.ā with all emails, but āthrough yoinkā it works.

- mail rule - add messages to DEVONthink.
Drag and drop to where?
from Apple Mail to DT3>inbox
Iām seeing no such issue in Sonoma.
A screencap of what youāre dragging to would be useful.
Slightly off topic - to drag/drop from DT3 to some apps, i.e. Outlook web email, Yoink is currently required - it used to work directly from DT3 to Outlook web email but that stopped working a while back.
et al:
Make sure you check Sonomaās System Settings > Privacy & Security > Automation. If you drag and drop emails from Apple Mail into the sidebarās Inbox alias, the OS may prompt you to okay the automationā¦
Make sure DEVONthinkās requests are allowed.
Also note, the OS could revoke this access on its own.
Iād suggest doing a Mailbox > Rebuild in Apple Mail and see if that resolves it.
Iāve been following this thread for awhile, and continue to have problems getting emails into DEVONthink Pro. Iām using Sonoma 14.1.1 on my Mac Studio with Apple M1 Max, and DEVONthink Pro 3.9.4. When I first upgraded to Sonoma 14, the Cntl-Opt-Cmd-M key combo seemed to work for a bit (I heard the little beep and the email was transferred into my Inbox in DEVONthink Pro. But within a short time, that keyboard combo stopped working. However, if I dragged the email into the menu bar icon, I got a drop down menu and could continue dragging that email down into my DEVONthink Pro Inbox. Then THAT trick stopped working. I read here in the Forums that some people were saying you could drag the email down onto the DEVONthink Pro DOCK icon, but that never worked for me. I also followed Blue Frogās suggestion of going into System Settings > Privacy and Security > Automation > DEVONthink 3 and made sure Finder item was turned on, that that might help. It didnāt, not even after I also did a Mailbox Rebuild in Mail. It seems the ONLY way I can get an email from Mail into DEVONthink Pro now is to open the email in Mail, then send the email to Print, but choose the Send PDF to DEVONthink 3. Kind of clunky, but it works ā for now. Is there anything new I can try??
Is DEVONthink 3 also allowed to automate Mail? Thatās much more important in this case.
Yes, that was on as well. Still no joy!
And a machine reboot?
I did ANOTHER reboot (for an unrelated reason), and now dragging an email up to the DEVONthink Pro menu icon and dropping it over the Inboxes entry in the drop down menu seems to be working again. Fingers crossed! (I did the same thing just now on my MacBook Air 15" model, and it worked there too).
Glad to hear it!
Hi. I have severals issues with importing mail from Apple Mail.
1- Use of rules and DVTP 3.9.4 : sometimes it imports mails sometimes not.
2- DragānāDrop to sorter⦠I have an error message in Log console ā Import of n messages failed. Sometimes it works !
3- DragānāDrop directly to inbox in DVTP : I have an error message in Log console ā Import of n messages failed. Sometimes it works !
4- Try using a hot folder then dragānādrop mail directly from Apple Mail to this hot folder : It works for all kind of files but not for mails !
5- Dragānādrop in finder in a temporary folder then drop to DVTP (inbox or group in database) ā seems to always work
6- Dragānādrop to Inbox in finder Favorites ā seems to always work
I suspected that grouping mails by conversation in Apple Mail was the cause of my issue but no, same behaviour.
Same result after rebooting my MacBook Pro M1. Rebuild mailbox too.
Config : Sonoma 14.2.1 / DVTP 3.9.4
I would like to have a safe workflow using Apple Mail rules and Devonthink Mail Scripts.
What am I doing wrong ? Help !
Thanks
Just one thing: DT will never import the same message twice. That might be the issue for the āimport of n messages failedā message.


