While Mail.app offers a menu item for removing attachments from e-mail, I find myself wanting to make a rule for removing attachments from e-mails. Anyone knows how that can be done? AppleScript, perhaps?

So basically, a Mail.app rule that works like this:

  1. If sender is suchandsuch and attachment type is executable (this is already possible).
  2. Remove attachments from e-mail
  • In Apple Script, attachments can apparently only be saved but not deleted.
    – nohillside
    Dec 24, 2012 at 16:25

1 Answer 1


I just made a screencast how to do this (however, you have to delete the message in order to remove the executable):

enter image description here

  • Your rule moves any mail with an executable attached into a specific mailbox. This isn't exactly what the question was asking for...
    – nohillside
    Dec 24, 2012 at 16:21
  • Yeah, deleting the e-mail kinda defeats the purpose – I just want to get rid of the attachment :)
    – mikl
    Dec 24, 2012 at 23:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .