#2396 new

Problem to add + remove a tag in one shot

Reported by Guillaume | October 1st, 2019 @ 04:51 AM

First, thanks Benny for the great email application! I recently bought a MailMate licence and did the switch and found it great and liking all the customization that can be done :)

One thing that I'm trying to figure out, I'm not sure if it's a bug or maybe my method is not completely right... is that I want to change a tag for another one. The problem is that when I do it, it seems to work (TagB replace a TagA), but when the mailbox finish to synchronize, then I get back my TagA alongside my TagB. I've tried with all the methods that I've thought of:

  1. Creating a Bundle that do the work:

    import json
    actions = { 'actions': [ { 'type': 'changeFlags', 'enable': [ 'TagB' ], 'disable': [ 'TagA' ] } ] }
    print json.dumps(actions)
  2. Create a shortcut that do it:

    "l" = ( "setTag:", "TagB", "removeTag:", "TagA" );
  3. Doing it directly from the main GUI (I mean, I saw the fields "Tags to be added" and "Tags to be removed" when I select multiple email). And this one does the same as the other: It works at the beginning and then set back my TagA when the mailbox has done synchronizing.

The only method that I got it to work is to manually call the Tags field using the "T" hotkey on a single email selection and then pressing backspace on the TagA and writing the TagB and pressing Enter. This work great, but I like to optimize my workflow on things that I want to do frequently and would much prefer to have a shortcut to switch between specific tags than to always manually edit the Tags field.

So, is this the wanted behaviour or a bug? Maybe I'm not calling the right actions/methods in my script, if so, what would be the preferred one?


Comments and changes to this ticket

  • Guillaume

    Guillaume October 1st, 2019 @ 07:41 PM

    I think this is related, so I'm posting it here to have another example.

    While using MailMate I see that whatever I modify a tag when my Inbox hasn't finished a sync, the modified tag gets reverted. I have an "Important" tag (linked to my Gmail \Important label) that I remove using the "i" key and when I press it and my mailbox was spinning, the change gets reverted.

    I think the problem is because when MailMate is syncing it finds that the tag is on the online IMAP server so it set it to my local email. So, I'm thinking, is there a way to chain the list of actions invoked so they get activated in the same order as they were invoked? I think this could help for those moments.

    Or could this be related to the fact that I'm working with Gmail labels?

    Thanks again!

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