Add gmail messages directly to DevonThink 3?

How can I directly add my gmail messages to DevonThink 3?
I only see suggestions to map gmail to AppleMail??? This is ridiculous.
This is a deal-breaker
Please tell me that there is a direct way to add gmail to Devonthink!

You can use Apple Mail as you note to retrieve your Gmail, then you can add those messages directly to DT3 by script or by drag/drop.

Or you can use Zapier to save your Gmail messages in a Dropbox folder and then index that folder in DT3.

Gmail in a browser is not an email client, so no there is no connection with our desktop application.

As @rkaplan noted, adding the Gmail account to Apple Mail is the most robust method of handing importing emails into DEVONthink.

1 Like

There is a reasonably straight-forward way to add GMail to DEVONthink.

In GMail, there is a “more” drop-down menu that is designated as three dots set vertically.

click the ‘more’ menu, to see the functions that can be applied to the displayed message
select ‘Download message’. This will save the gmail message in the unix .eml format

At this point there are a number of approaches

  1. manually move the .eml file into a DT group
  2. use the Folder Actions Setup service on a special folder that invokes a script which imports any file dropped in the folder into DEVONthink
  3. set the default application used to open .eml files as DEVONThink, which will then ask you into which database and group you wish to add the email file.

I personally like the third option, since I do not use Apple’s mail.app.
However, if that is a problem for you, use solution 2.
You can use a DEVONthink import script which drops all new ‘email’ files into a specific database inbox, or you can have it ask to which database and which group you’d like to save it.

The .eml file works reasonably well in DT2 and DT3. It is not editable, and I have found very few formats / content combinations that it cannot handle.

  • RHM
1 Like

In GMail, there is a “more” drop-down menu that is designated as three dots set vertically.

click the ‘more’ menu, to see the functions that can be applied to the displayed message
select ‘Download message’. This will save the gmail message in the unix .eml format

I’m not seeing this option. Do you have a screencap?

Apologies for the long delay in responding.

Enclosed are two screenscrapes.

[1] When viewing an email on the web, (or in an app like Mailplane), you will see in the heading, on the right side, three dots in a vertical arrangement.

[2] Clicking the icon, will open a drop-down menu.
Selecting ‘Download message’ will save the email being viewed as an .eml file

I use a file on my desktop into which I drop the .eml file, and have Folder Actions set up to import the file to a group (which I select with the DEVON 3 clipper) and then delete the file.

1 Like

No worries! Thanks for the info.

Just wanted to add, for the sake of future users, that the latest Mailplane.app release includes support for clipping emails to Devonthink under the File → Save Clip menu option. It’s nice!

Screenshot 2021-02-19 at 12.24.06

Does it produce an .eml file?
Are the attachments imported separately in the same group?

Yes, the kind of item created is “Email Message”. Attachments (tried images and also other binary attachments like zips and pdfs) appear as embedded in the message, not as separate items.

Thanks for the clarification. :slight_smile: