#2344 accepted
Donna McMaster

create rule that automatically flags certain messages

Reported by Donna McMaster | June 15th, 2019 @ 09:51 PM

I decided to add a rule that would flag incoming messages from VIP clients with a yellow flag.

So I added all those clients' emails as conditions and went to add the flag action ... and it's not there. I can tag, move, etc., but not set a flag.

This seems such an obvious thing to want to do that I wonder whether I'm just missing something? Or is this really not an option?

If not, then I would like to request it as a feature.


Comments and changes to this ticket

  • benny

    benny January 2nd, 2020 @ 09:59 PM

    • State changed from “new” to “accepted”

    @Donna: Sorry about the late reply. The answer really is that it was never added as a rule action.

    The only workaround (until I do implement such an action) is a bit cumbersome (which kind of also reflects why it's not a quick fix). A colored flag is actually a combination of 4 IMAP keywords. This is how Apple implemented it and MailMate is compatible with Apple Mail:


    The first always need to be enabled for a flagged messages. Various combinations of the other values correspond to different colors. So, the workaround is to have actions which both set the \Flagged value and the needed $MailFlagBitX values (using “Set Keyword”).

    I'll update this ticket when this workaround is no longer needed.

  • benny

    benny January 3rd, 2020 @ 11:01 AM

    Hmm, maybe this is a visual issue which clears up if reselecting the

    You can enable the “Raw Flags” column in the message list to see a
    list of the current IMAP keywords for the message.

  • benny

    benny January 6th, 2020 @ 09:28 AM

    You don't need three preceding actions to clear the bits. Just set/unset all three bits, that is, you always need 4 actions (\Flagged and 3 bits). Sorry about not being clear about that. I forgot the details.

    GUI: The bit-flags are not cleared when removing flagged, but this could be an option I guess.

    Quota Reached:: Yes. When I clean up, it fills up so quickly that it's hardly worth the effort. Use “Help > Send Feedback” in MailMate to send me screenshots if needed.

    Note: I believe it's possible to create 7 template rules (without conditions) named “Flag Yellow” etc. Then these can be dragged holding down option (to copy) to use them repeatedly (you would need some dummy smart mailbox to store them). A rule can have children which means you can then make a rule with conditions only and then drag the color-action to add it as a child to the condition. I'm not sure you'll find this easier, but now you know :-)

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