Can't Find Option to Install Apple Mail Add-On in DT3 Pro

Hello,

I’m running DT3 Pro edition and when I go to the “Install Add-ons” menu, I’m not seeing the option to install the Apple Mail plugin. I’m pretty new to DT so perhaps I’m just missing something?

I’ve been doing some searching on this forum for answers and have tried a few things, including deleting the “DEVONthink.mailbundle” as recommended in the thread Manually reinstall Apple Mail Plugin - HowTo? but it did not help.

Here is a screenshot of my install add-ons choices. It seems like others at least had a check-box for the mail plugin but I do not:

Any ideas or insights would be appreciated, thanks!

Welcome @anthonyihrig
Are you running macOS Sonoma?

Thanks for the reply. Yes, I’m running the latest version of macOS Sonoma.

You’re welcome!

As noted elsewhere on these forums, in macOS Sonoma Apple deprecated Apple Mail plugins and broke things for all third-parties who develop (and also sell) these plugins. There is nothing we can do about this. Their mail extensions, are (1) very basic and limited, not capable of providing the functionality of our plugin, and (2) have really not been further developed further or improved by Apple in the 4-5 years since they announced them. Logically, mail extensions have not been adopted by most developers and now Apple has left them – us included – with no functional replacement.

Alternative methods for importing emails into DEVONthink:

  • Drag and drop from many (though not all) email clients: to the Finder and into DEVONthink, into the Sorter, or into a database directly
  • Mail scripts in scriptable email clients
  • Mail rule scripts in Apple Mail
  • DEVONthink’s View > Import sidebar still works, albeit more slowly without the plugin
  • You can also export mailboxes to .MBOX format is some email clients. The exported .MBOX files can be dropped onto DEVONthink’s dock icon to be imported.

Also make sure DEVONthink has Full Disk Access and its Automation requests allowed in System Settings > Privacy & Security.

3 Likes

As posted elsewhere, I use an script embedded in an Apple Shortcut, activated from the Shortcuts panel in the macOS menu bar, to send selected messages to DEVONthink. It’s very fast and reliable.

2 Likes

Thank you @BLUEFROG, I hadn’t considered MacOS version when seeing solutions others found for this. I now remember hearing about mail plug-ins breaking in Sonoma and it makes sense what is happening. I really appreciate your suggestions, the .MBOX option may be the winner for me going forward.

Thanks @korm, this is an intriguing solution and I will track down the older threads to see if this would be a good option as well.

Thanks all!

You’re very welcome!
Indeed, .MBOX can be useful for importing emails en masse.

Drag and drop is very useful for ad-hoc imports. And @korm’s suggestion could be handy too!

1 Like

Can you please clarify…with the deprecation of the Apple Mail plugin in Sonoma, does that mean the “Add message(s) to DEVONthink.scpt” no longer works?

I’m running DT 3.9.6 and KeyBoard Maestro 10. I installed Bluefrog’s KM macro posted in March but it doesn’t work…seems I don’t have the above .scpt file installed, so the KM macro won’t run.

If the script does still work, how can I get it installed?

TIA,
Jim

No. That is a script, not a plugin. Two entirely different things.
And the script is accessed in the Global Script menubar menu while you’re in Apple Mail.

This is covered in the Help > Tutorials > Handling Email


(slide 6)

The application scripts are installed where they always have been: ~/Library/Scripts/Applications/….

Also, make sure you have given DEVONthink Full Disk Access and allowed it’s Automation requests in System Settings > Privacy & Security.

I did have Full Disk Access for DT set, and Automation allowed but I cannot locate the mail scripts. They don’t show up in the first dropdown when accessing the Global Scripts from within Apple Mail (as shown in the tutorial) and if I open the Mail Scripts folder nothing happens.

The only scripts showing in the Applications folder are for Excel and Word.

Also, I just tried to run the Install Add-ons routine again and got a failure message. I restarted the machine and double-checked the Full Disk Access and Automation settings and tried the Install Add-ons again with same result.

log

That is not normal behavior. It looks like you have permissions issues, not DEVONthink ones.

  • What version of macOS are you running?
  • Is this a new Mac set up via Migration Assistant/Time Machine?

Running Sonoma 14.5, and no, not a new set up. BUT, I just found the mail scripts. They are not located as the tutorial suggested…they are in Users/(me)/Library/Application Scripts/com.apple.mail

Now I’m not sure what to do.

Those are the Mail Rule scripts, not the global scripts. They are not the same.

Again, this isn’t a DEVONthink issue as we don’t control filesystem permissions, etc., but hold the Option key and choose Help > Report bug to start a support ticket.

Ah, okay. I was about to add that I found them while examining a Mail rule, and I see the names are different.

Any idea on how to proceed? Here are my FDA and Automation screens.

FDA

As I mentioned, hold the Option key and choose Help > Report bug to start a support ticket.

1 Like

Bluefrog to the rescue and problem solved! And on a Sunday, no less!

For anyone with a similar issue, the problem was my User only had Read Only permission on the Scripts folder, even though Full Disk Access was enabled for DT. Once permissions were set to Read AND Write, I was able to install the add-ons and got the Apple Mail scripts.

Here’s Jim’s steps that fixed it:
In the Finder, select the Go menu while holding the Option key, then choose Library .
Select the Scripts folder, press Command-I to open the Get Info pane. Look at the Sharing & Permissions section. Click the lock to unlock the pane. The account marked (Me) should be set to Read & Write . Whether or not it is, change it – or change it and change it back – then click the Action menu and choose Apply to enclosed items.

Thanks again!!!

1 Like