#1232 accepted

Feature request: Apple-/Shell-Script action for rules

Reported by Mike | August 13th, 2015 @ 11:10 AM

I would like to run script files as an action for folder rules. One example is auto answering mails dropped into a specific folder.

Comments and changes to this ticket

  • benny

    benny August 13th, 2015 @ 11:52 AM

    • State changed from “new” to “accepted”

    It's kind of already possible low-level, but it's very undocumented and probably also not a stable feature. It's certainly an accepted feature request though.

    To provide a bit more detail: There is a “Run Script” rule command already (soon to be renamed “Run Command”). This runs a bundle command, that is, a command residing in one of the enabled bundles. It is possible to create your own bundle with such a command and it is possible to let such a command return instructions to MailMate about creating a reply (or a new message) and, optionally, send it. The problem is that this is very cumbersome. I'm still considering how to improve it.

  • Mike

    Mike August 13th, 2015 @ 03:59 PM

    Is there a (rudimentary) description how to make a bundle? What is the file format of the mmCommand files?

  • benny

    benny August 17th, 2015 @ 12:44 PM

    No, the best “documentation” is the existing bundles. New UUIDs should be generated using the uuidgen command. There is also a few specific details in this thread. That's the best I can offer for now.

    For your particular purpose I think the ideal solution would be if MailMate made it possible to introduce new action types for mailbox rules. For example, you could define an “Auto Reply” action which takes a file as an argument. This file should be an email draft which would work as a template for the generated reply (and such a template could be created within MailMate itself).

  • Mike

    Mike August 19th, 2015 @ 11:05 AM

    I think it would be easier to have the ability to launch a simple script too. In many cases it would probably to complex in relation to the script to develop a bundle for each case. In case of the automatic answers it would probably easier with a simple script.

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