Quantcast
Channel: DEVONtechnologies Community - Latest posts
Viewing all articles
Browse latest Browse all 17201

Same mail with different mail ids in mail.app when running Apple Scripts from DEVONthink 3

$
0
0

Hi there,

I hope you can shed some light on a weird situation with mails in mail.app.

I recently started looking into automating the mail import from Apples Mail.app. I’m interested to import both the mail in EML-format and existing PDF-attachments.

Problem

I use a modified version of the standard mail scripts provided by DEVONthink. When I run them, the selection contains always two items, although only one mail is selected. Important: But for now I’m only aware, that there’s this single mail. I have not tried to find another one so far.

The code in in Script Debugger.app:

The selected mail:

I searched within the mail.app and the result is just this, so no duplicated mail in my mailbox.

I searched the settings of the mail.app to see if there’s a problematic option, but found none. Disabling “Include related messages” doesn’t fix the problem.

To my setup:
I use a remote mail provider and run a local mailserver which fetches mails from the remote one, if this might cause some of the problems.

[ mailprovider ] <--IMAP fetch & remote delete -- [internal mail server]

Viewing all articles
Browse latest Browse all 17201

Trending Articles