The bundle requires a recent version of Ruby installed. The bundle should be placed in ~/Library/Application Support/MailMate/Bundles
.
For the main command, it checks for Ruby environment managers like asdf, rbenv and rvm.
It consists two commands, Add...
and Attachments Rules...
. The first one adds the attachments via AppleScript to DEVONthink.
The second one opens the Ruby class file, which consists the rules for adding filenames and mime types.
To automate adding attachments from MailMate to DEVONthink you can add a MailMate rule for your inbox to execute the Plugins Add...
command.
If not otherwise specified (see below), files in this repository fall under the following license:
Permission to copy, use, modify, sell and distribute this
software is granted. This software is provided "as is" without
express or implied warranty, and with no claim as to its
suitability for any purpose.
An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar.