#2324 new
Keith Martin

Launch app from rule match

Reported by Keith Martin | May 21st, 2019 @ 08:51 AM

I'd like to be able to have Mailmate launch something in response to a rule being matched. Passing parameters – sender, subject, etc. – would be great, but at its simplest I would like to be able to run a nominated app or an AppleScript in response to (for example) a specific email account sending me something.

I've been trying to get this working with MM bundles following instructions from https://www.1klb.com/posts/2016/02/26/mailmate-bundles/, but while I got the test text file to be generated I can't get anything else to happen.

Comments and changes to this ticket

  • Keith Martin

    Keith Martin July 9th, 2019 @ 10:09 AM

    Revisiting this as it would be a MAJOR boon if I could simply have something launched on a rule match, and even better if it could include basic info about the incoming message. I get SO much email that I am at risk of missing things that I need to see quickly. (Okay, full disclosure: I DO miss things.) So here's an ideal feature description to fix this problem:

    1. On a rule match, Run Command is invoked, and it launches an AppleScript
    2. The sender name and/or email subject is passed along to the script
    3. The 'stock' or example AppleScript shows some form of alert, optionally including the sender name and/or email subject, for example "You have a new email from [name] about [subject]."

    I would then be free to use this as-is or make my own scripts to do more, such as launch a different application, perhaps one of my own making.

  • benny

    benny August 1st, 2019 @ 08:14 AM

    Send me the bundle that does not work for you. I'll see what goes wrong and/or alter it to do something like what you request.

    (You can send it using “Help ▸ Send Feedback”.)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages