Jump to content
Ehler

Alfred no longer attaching files in Airmail?

Recommended Posts

I'm not sure if this broke with Catalina, Alfred 4, or an Airmail update because it's a feature I went without using for awhile, but when I'm selecting "Email To…" from a file action, the resulting email made in Airmail no longer pre-fills with the selected attachment. This was previously working. Any advice from anyone?

Share this post


Link to post

@Ehler Catalina requires more granular permissions for apps, so it may be that you need to grant Airmail Full Disk Access under System Prefs > Security & Privacy > Privacy > Full Disk Access.

 

If you add Airmail there, do attachments start working as expected?

 

Cheers,
Vero

Share this post


Link to post

Alfred 4 already had full disk access, and I even tried giving it developer access to no avail.

Edited by Ehler

Share this post


Link to post
4 hours ago, Ehler said:

Alfred 4 already had full disk access, and I even tried giving it developer access to no avail.

 

You will need to grant Airmail full disk access as it will be Airmail attempting to access the file for attachment. :)

Share this post


Link to post
On 12/3/2019 at 3:40 AM, Vero said:

 

You will need to grant Airmail full disk access as it will be Airmail attempting to access the file for attachment. :)

 

Was able to enable this, but I'm still not getting the desired behavior.

Edited by Ehler

Share this post


Link to post

I have the same issue with Airmail 2. All the permissions are given but choosing "email to" in actions do not attach chosen file to new email. In native Mail app this function works well.
mac OS Catalina, Alfred 4.0.7 Build 1131

Edited by Ustrich

Share this post


Link to post

@Ustrich Did you grant Airmail full disk access as well? You can't do this from Alfred and will need to do it manually in the System Preferences > Security & Privacy > Privacy > Full Disk Access.

 

If you granted access before you upgraded to Catalina, you may need to remove apps and re-grant them permissions, as it seems some users are seeing permissions corruption when upgrading to Catalina, where macOS doesn't recognise that these apps already do have permission. Removing and re-adding solves the issue. 

 

Cheers,
Vero

Share this post


Link to post

Both Airmail and Alfred granted full disk access. All is done again as you said from System Preferences. Nothing happened. Still doesn't work. 

Share this post


Link to post
28 minutes ago, Ustrich said:

Both Airmail and Alfred granted full disk access. All is done again as you said from System Preferences. Nothing happened. Still doesn't work. 

 

Did you remove and re-grant as suggested? Did you try restarting your Mac? Have you renamed Airmail or moved it to an unusual location?  Could you please try launching Console.app and seeing if there are any error messages?

 

This is a feature that should work as expected and has been reported by other Airmail users as working fine, so you might need to put in a bit of legwork to help establish what's happening on your Mac specifically :)

 

Cheers,
Vero

Share this post


Link to post

Yes, I did. I've restarted Mac and reinstalled Airmail from scratch as well, did not help.

 

The only thing that seems related to this issue and the timing matches is error "Failed to create a desc with expected type (is 'furl' should be 'TEXT')" from Airmail.

Share this post


Link to post

@Ustrich I'm going to pop an email to Airmail to see if they can help out, as there may need to be some tweaks to Alfred's AppleScript for Airmail, or their AppleScript handling in Catalina.

 

Just to confirm, if you set your mail handler to be Apple's Mail.app, do files attach as expected?

 

Cheers,

Andrew

Share this post


Link to post

@Ustrich I've had a reply from Airmail who advise that you should update to the latest version of Airmail 3. They haven't provided further details as to whether Airmail 2 is incompatible with macOS Catalina, but I would guess that could be why.

 

@Ehler I'm not sure whether you've resolved the issue you were seeing in December, but the same answer applies where the Airmail support folks are asking users to please ensure they're on the latest version. 

 

Let me know how you get on :) 

 

Cheers,
Vero

Share this post


Link to post

@Vero one more update, maybe it could clarify something.

 

I've just tried to set Spark 2.5.1.668 as a default Mail app for Catalina (10.15.2). When I tried to email the file using the Action (Email to...) action from Alfred, Alfred opened the Mail.app instead of Spark. Even though Spark is set a a default app for Mail. Not sure if that's related but seems like a similar kind of an issue.

Share this post


Link to post
5 hours ago, Vero said:

@Ustrich I've had a reply from Airmail who advise that you should update to the latest version of Airmail 3. They haven't provided further details as to whether Airmail 2 is incompatible with macOS Catalina, but I would guess that could be why.

 

@Ehler I'm not sure whether you've resolved the issue you were seeing in December, but the same answer applies where the Airmail support folks are asking users to please ensure they're on the latest version. 

 

Let me know how you get on :) 

 

Cheers,
Vero

I went in and took away full disc access and added it again, and no dice. I'm likewise on 3.6.73 (build 557) and getting an error from Apple Events when invoking this from Airmail in the Console.

        ERROR: Failed to create a desc with expected type (is 'furl' should be 'TEXT')

 

Share this post


Link to post
48 minutes ago, Ustrich said:

sorry I did not mention this before

 

You actually said "Airmail 2".

 

39 minutes ago, Ustrich said:

Even though Spark is set a a default app for Mail. Not sure if that's related but seems like a similar kind of an issue.

 

It's kinda related, but not really. Attaching a file to an email uses a completely different mechanism, and Alfred does not support Spark natively.

 

GuiB posted a plugin for Spark in this thread (which also contains more details on sending emails vs attaching files):

 

 

Share this post


Link to post

As an update to all in this thread, I've contacted Airmail again to find out more about the error @Ehler provided, and to check whether any changes have been made that need to be reflected in the AppleScript used for this.

 

As soon as we hear back from the Airmail team, I'll provide an update. 

 

Cheers,
Vero

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...