#1247 ✓fixreleased
fnurl

Gmail labels with non-ascii characters not working?

Reported by fnurl | August 25th, 2015 @ 01:40 PM

Hi, I just got the hang of how MailMate treats gmail labels and I think it's great. I can finally see which email messages do not have a label.

Since I am Swedish, I have a few labels with Swedish characters (åäö). When creating tags for these labels, the IMAP flag strips the non-standard characters and the display name retains them. For my label !att-rätta I got "!att-rätta", "!att-rtta" and I have the gmail label "!att-rätta".

The tag is however not recognized by MailMate unless I remove the 'ä' from Gmail and edit the tag in MailMate. Is this a bug or a limitation of some sort?

Comments and changes to this ticket

  • benny

    benny August 27th, 2015 @ 06:16 PM

    It seems to work for me. I tried with “Æblegrød”. I used this as display name and Gmail label name -- and I used ablegrod as IMAP keyword.

    Could you try again to see if there is some kind of special trigger? (I didn't try your specific label.)

    What do you mean exactly by “not recognized by MailMate”?

  • fnurl

    fnurl August 28th, 2015 @ 07:26 AM

    • Tag set to gmail, tags

    I'm using MailMate Version 1.9.1 (5084) with, 6 accounts. 156168 mails in All Messages (using de

    Testing new label with non-ascii character

    1. Start MailMate
    2. Labelled a message in my gmail inbox with a new label (that did not exist before) from the gmail web interface: östgötatrafiken
    3. Check MailMate to see that the folder shows up with the message inside.
    4. Open Tag preferences in MailMate and add new Tag "östgötatrafiken"
    5. Let MailMate syncronize with gmail (waited for the IMAP connection to go idle. It did a FETCH X-GM-LABELS.
    6. Check MailMate inbox for tag: tag did not show up.
    7. Tried a "synchronize" using right click on theINBOX folder from my Sources listing in the sidebar: tag did not show up.
    8. Quit MailMate
    9. Restart MailMate
    10. Notice that the folderöstgötatrafiken is not there any more (I should have checked this after step 4, but I forgot)
    11. Wait for MailMate to sync, check Inbox message for tag: no tag östgötatrafiken found.

    Testing a new label with only ascii characters

    1. MailMate is running from previous test
    2. Labelled a message in my gmail inbox with a new label (that did not exist before) from the gmail web interface: ostgotatrafiken
    3. Check MailMate to see that the folder shows up with the message inside.
    4. Open Tag preferences in MailMate and add new Tag "ostgotatrafiken"
    5. Sync gmail account, folder ostgotatrafiken disappears from source folder listing
    6. Check MailMate inbox for tag: tag did not show up.
    7. Tried a "synchronize" using right click on the INBOX folder from my Sources listing in the sidebar: tag did not show up.
    8. Quit MailMate
    9. Restart MailMate.
    10. Wait for MailMate to sync, check Inbox message for tag: no tagsostgotatrafiken orostgötatrafken found.
    11. Quit and restart MailMate
    12. Wait for MailMate to sync, check Inbox message for tag: no tagsostgotatrafiken orostgötatrafken found

    Conclusion: there seems to be something else rather than non-ascii characters causing the issue with the missing Tags, perhaps too many emails or tags? How do I know when MailMate is done with processing X-GM-LABELS?

    The X-GM-LABELs are listed as &APY-stg&APY-tat&APY-trafiken andostgotatrafiken respectively in the Activity Log

  • benny

    benny August 28th, 2015 @ 07:47 AM

    I cannot reproduce this. It works for me. I got &APY-stg&APY-tatrafiken as X-GM-LABEL.

    Try enabling the “Raw Flags” column in the messages outline.

    What was the IMAP keyword in the Tags preferences pane? I used stgtatrafiken (the default).

    To make sure it is not a fixed bug then use the latest test version: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane.

    I have a single message in the Gmail INBOX and when I explicitly synchronize this mailbox then I get this output:

    07:42:55 C: C32 UID FETCH 1:2616 (UID FLAGS X-GM-LABELS)  
    07:42:55 S: * 1 FETCH (X-GM-LABELS ("\\Starred" &AMY-blegr&APg-d &APY-stg&APY-tatrafiken) UID 2616 FLAGS ($Junk $NotJunk \Flagged \Seen ablegrod))  
    07:42:55 S: C32 OK Success
    

    The only thing to notice is that the IMAP keyword (FLAGS) is missing because it was tagged via the Gmail web interface, but it should still show up as tagged in MailMate (due to the mapping specified).

  • fnurl

    fnurl August 28th, 2015 @ 08:29 AM

    Thanks for the reply. I updated to the latest test version (1.9.2 (5116)) and also set the synchronization schedule to 5 minutes rather than Connected, as well removed messages from my gmail inbox so that I only have two messages there. Below is the log (some flags withheld):

    07:56:18 Trying to terminate connection...
    07:56:18 S: <<< terminated reading >>>
    07:56:18 Response after idling (120/900): other (8)
    07:56:18 C: DONE
    07:56:18 S: S115 OK IDLE terminated (Success)
    07:56:18 Completed IDLE (4). Reset observed read/write timeouts: 8/8
    
    07:56:18 Handling reply
    07:56:18 Running action
    07:56:18 Sending request (51)
    07:56:18 Handling request
    07:56:18 Ready to run action
    07:56:18 Synchronizing mailbox: INBOX
    07:56:18 Selecting mailbox: INBOX
    07:56:18 C: C116 SELECT INBOX (CONDSTORE)
    07:56:18 S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing $has_cal @NewsList DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.OmniFocus activity.Reminders att_r&aoq-tta done important kickstarter newslist notifications support today)
    07:56:18 S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing $has_cal @NewsList DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.OmniFocus activity.Reminders done important kickstarter newslist notifications support today \*)] Flags permitted.
    07:56:18 S: * OK [UIDVALIDITY 2] UIDs valid.
    07:56:18 S: * 2 EXISTS
    07:56:18 S: * 0 RECENT
    07:56:18 S: * OK [UIDNEXT 107150] Predicted next UID.
    07:56:18 S: * OK [HIGHESTMODSEQ 14595737]
    07:56:18 S: C116 OK [READ-WRITE] INBOX selected. (Success)
    07:56:18 Attempting fast synchronization.
    07:56:18 C: C117 UID FETCH 107110:* (UID)
    07:56:18 S: * 2 FETCH (UID 107109 MODSEQ (14594897))
    07:56:18 S: C117 OK Success
    07:56:18 Completed action (1002). Observed read/write timeouts: 8/8
    
    07:56:18 Handling reply
    

    So it seems like X-GM-FLAGS are not being synchronized when I synchronize my Inbox? I am displaying both the Raw Flags and the Tags in my listing and cannot see any of the expected tags as well. The email message does have a previous tag (I tag all my gmail messages as gmail).

    Removing the gmail tag and adding it again via MailMate was reflected in the gmail web interface. It did nothing for the tags ostgotatrafiken and östgötatrafiken though. Below are the logs:

    08:18:19 Running action
    08:18:19 Sending request (65)
    08:18:19 Handling request
    08:18:19 Ready to run action
    08:18:19 Selecting mailbox: INBOX
    08:18:19 C: H15 SELECT INBOX (CONDSTORE)
    08:18:19 S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing     $has_cal @NewsList DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.    OmniFocus activity.Reminders done gmail important kickstarter newslist notifications support today)
    08:18:19 S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing     $Phishing $has_cal @NewsList DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases     activity.OmniFocus activity.Reminders done gmail important kickstarter newslist notifications support today \*)] Flags permitted.
    08:18:19 S: * OK [UIDVALIDITY 2] UIDs valid.
    08:18:19 S: * 2 EXISTS
    08:18:19 S: * 0 RECENT
    08:18:19 S: * OK [UIDNEXT 107150] Predicted next UID.
    08:18:19 S: * OK [HIGHESTMODSEQ 14595765]
    08:18:19 S: H15 OK [READ-WRITE] INBOX selected. (Success)
    08:18:19 C: H16 NOOP
    08:18:19 S: H16 OK Success
    08:18:19 Performing full synchronization.
    08:18:19 C: H17 UID FETCH 1:107109 (UID)
    08:18:19 S: * 1 FETCH (UID 105011 MODSEQ (14576225))
    08:18:19 S: * 2 FETCH (UID 107109 MODSEQ (14595762))
    08:18:19 S: H17 OK Success
    08:18:19 C: H18 UID FETCH 107110:* (INTERNALDATE)
    08:18:19 S: * 2 FETCH (UID 107109 MODSEQ (14595762) INTERNALDATE "27-Aug-2015 16:34:11 +0000")
    08:18:19 S: H18 OK Success
    08:18:19 C: H19 UID FETCH 1:107109 (UID FLAGS X-GM-LABELS) (CHANGEDSINCE 14595765)
    08:18:19 S: H19 OK Success
    08:18:19 Storing flags
    08:18:19 C: H20 UID STORE 105011 +FLAGS.SILENT (ostgotatrafiken stgtatrafiken)
    08:18:20 S: * 1 FETCH (UID 105011 MODSEQ (14595784) FLAGS (\Seen ostgotatrafiken stgtatrafiken))
    08:18:20 S: H20 OK Success
    08:18:20 C: H21 UID FETCH 105011 (FLAGS)
    08:18:20 S: * 1 FETCH (UID 105011 MODSEQ (14595784) FLAGS (\Seen ostgotatrafiken stgtatrafiken))
    08:18:20 S: H21 OK Success
    08:18:20 C: H22 UID STORE 105011 +X-GM-LABELS.SILENT (ostgotatrafiken "&APY-stg&APY-tatrafiken")
    08:18:20 S: * 1 FETCH (UID 105011 MODSEQ (14595788) FLAGS (\Seen ostgotatrafiken stgtatrafiken))
    08:18:20 S: H22 OK Success
    08:18:20 Completed action (1007). Observed read/write timeouts: 8/8
    
    08:18:20 Handling reply
    08:19:40 Running action
    08:19:40 Sending request (67)
    08:19:40 Handling request
    08:19:40 Ready to run action
    08:19:40 Synchronizing mailbox: INBOX
    08:19:40 Selecting mailbox: INBOX
    08:19:40 C: C23 SELECT INBOX (CONDSTORE)
    08:19:40 S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing     $has_cal @NewsList DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.    OmniFocus activity.Reminders done fodina gmail important kickstarter newslist notifications ostgotatrafiken stgtatrafiken support today)
    08:19:40 S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing     $Phishing $has_cal @NewsList DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases     Vallastaden activity.OmniFocus activity.Reminders done fodina gmail important kickstarter newslist notifications ostgotatrafiken     stgtatrafiken support today \*)] Flags permitted.
    08:19:40 S: * OK [UIDVALIDITY 2] UIDs valid.
    08:19:40 S: * 2 EXISTS
    08:19:40 S: * 0 RECENT
    08:19:40 S: * OK [UIDNEXT 107150] Predicted next UID.
    08:19:40 S: * OK [HIGHESTMODSEQ 14595795]
    08:19:40 S: C23 OK [READ-WRITE] INBOX selected. (Success)
    08:19:40 C: C24 NOOP
    08:19:40 S: C24 OK Success
    08:19:40 Performing full synchronization.
    08:19:40 C: C25 UID FETCH 1:107109 (UID)
    08:19:40 S: * 1 FETCH (UID 105011 MODSEQ (14595795))
    08:19:40 S: * 2 FETCH (UID 107109 MODSEQ (14595762))
    08:19:40 S: C25 OK Success
    08:19:40 C: C26 UID FETCH 107110:* (INTERNALDATE)
    08:19:40 S: * 2 FETCH (UID 107109 MODSEQ (14595762) INTERNALDATE "27-Aug-2015 16:34:11 +0000")
    08:19:40 S: C26 OK Success
    08:19:40 C: C27 UID FETCH 1:107109 (UID FLAGS X-GM-LABELS) (CHANGEDSINCE 14595788)
    08:19:40 S: * 1 FETCH (X-GM-LABELS ("!Reply to" "\\Important" &APY-stg&APY-tatrafiken gmail ostgotatrafiken) UID 105011 MODSEQ (14595795)     FLAGS (Vallastaden \Seen ostgotatrafiken stgtatrafiken))
    08:19:40 S: C27 OK Success
    08:19:40 Completed action (1002). Observed read/write timeouts: 8/8
    
    08:19:40 Handling reply
    
  • benny

    benny August 28th, 2015 @ 09:27 AM

    Thanks, it turns out I had disabled a feature known as CONDSTORE and this was why I didn't see the issue. I can reproduce it now and I'll work on a fix (I think it's a combination of a MailMate bug and a Gmail quirk).

  • benny

    benny August 28th, 2015 @ 01:38 PM

    Try fetching this direct download (r5118) and let me know how that works out for you.

    Some observations:

    1. Gmail has, in the past, used a quite primitive implementation of IMAP IDLE. This only reported when emails were deleted or added. It did not report if flags (IMAP keywords) were changed. At some point they fixed this, but then they pulled the fix, and now it appears to be back (not sure for how long). But this is a good thing.
    2. When a Gmail label is changed (not an IMAP keyword) then the email client is also notified, but not about the label change. Instead the existing IMAP keywords are reported (which probably have not changed). This confused MailMate. I think I know why they do that, but it didn't work well with MailMate. I've fixed this.
    3. In the past, MailMate only updated the IMAP keyword corresponding to a tag if the change was done in MailMate. This works well if all changes are done from MailMate, but if changes are done via Webmail then only the Gmail label is updated -- and this does not work very well. I've changed it such that MailMate tracks server side label changes such that IMAP keywords are also updated (if an IMAP keyword is mapped to the Gmail label).
    4. I've disabled a workaround for the problem mentioned in item 1. Hopefully Gmail won't remove their fix again.
  • fnurl

    fnurl August 28th, 2015 @ 04:38 PM

    I'm not sure what I am doing wrong, but I just tried r5118 and still encounter the issue:

    1. Downloaded and let MailMate sync.
    2. Select an email in my Gmail Inbox web interface without any previous labels (only in Inbox) and create and add a completely new label to it: newlabel1
    3. Let MailMate sync: the new folder is visible and the email is in the new folder and in the inbox.
    4. Set the new label as a Tag in Preferences
    5. Synchronize gmail and the folder disappears.
    6. Synchronize the inbox, but the label does not appear.
    7. Quit and restart MailMate, still no label.

    Below are the logs for a sync where one of the email messages should have the label newlabel1.

    However, I then tried the following which gave the expected results:

    1. remove the label newlabel1 from the message via the gmail web interface
    2. let MailMate synchronize the Inbox
    3. add the label newlabel1 to the message via the gmail web interface
    4. let MailMate synchronize the Inbox: the message now has the label newlabel1

    I don't know if you can deduce if the problem is on on gmail's side or if its a special case when adding new labels and then converting them to tags with regard to MailMate X-GM-FLAGS?

  • benny

    benny August 28th, 2015 @ 05:21 PM

    • State changed from “new” to “accepted”

    Yes, the order of events is a problem. MailMate needs to force re-reading all Gmail labels if the label is created before the tag. I guess I have to schedule resynchronizing all flags in all Gmail mailboxes whenever a tag is assigned to a Gmail label. (The same is needed for making the label mailbox disappear/appear.) I'll track any progress on this in this ticket.

    I'll note this, but the let me know if it fails in other ways.

  • benny

    benny August 31st, 2015 @ 01:13 PM

    Ok, I've tried to improve how this works. When changing Gmail labels then the list of mailboxes in the SOURCES section should resync automatically (if online). Also, the IMAP keyword of a Gmail label is (to some degree) kept in-sync with the Gmail label.

    Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane (r5119).

  • benny

    benny August 31st, 2015 @ 01:13 PM

    • State changed from “accepted” to “fixcommitted”
  • fnurl

    fnurl September 2nd, 2015 @ 05:29 AM

    Thanks!

    Just to try (even though I was not sure if it would work), I renamed a label in the gmail web interface, and then changed the "Display Name" and "Gmail Label" in MailMate. MailMate had trouble handling this and I got an error (I pressed cancel). The result was that three messages got re-labeled with the old label name (i.e. MailMate changed the X-GM-FLAGS I'm guessing), and one message did not have its label changed. I'm not sure if some fell in between labels or not (I knew the risks).

    BAD Could not parse command

    .. so I am guessing that correct way to rename a tag and have the rename synced with MailMate is to:

    1. Remove the tag from MailMate
    2. Rename the tag in the Gmail web interface
    3. Re-add the tag with the new Gmail Label

    Perhaps the Gmail Label field in the preferences could be read-only after first setting the path to the "Gmail Label" to avoid such problems?

  • benny

    benny September 2nd, 2015 @ 07:22 AM

    I primarily tested renaming the Gmail label within MailMate itself, but I also couldn't reproduce the problem you describe. It seems MailMate somehow generated a syntactically incorrect command for the server and I'd like to fix that.

    Could you do the following:

    • Open the Activity Viewer (⌥⌘0).
    • Reproduce the problem at least once.
    • Use “Help ▸ Send Server Logs”.

    It can be tricky to catch every scenario (order of events) in a way which makes sense to the user. The main goal must be to avoid loss of tags/labels. For example, renaming a Gmail label in MailMate creates the new label and assigns this label to all existing messages with the old label -- but it does not remove the old label. The user has to do this manually either by deleting messages in MailMate or via the web interface.

  • fnurl

    fnurl September 2nd, 2015 @ 10:45 AM

    I just stumbled upon the same issue again. Here are the logs for that session:

    Connection log (2015-09-02 10:24:33 +0000):
    10:23:35 S: H2 OK Success
    10:23:35 C: H3 ID ("name" "MailMate" "version" "r5119" "vendor" "Freron Software" "contact" "mm-imap-id@freron.com")
    10:23:36 S: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "http://support.google.com/mail" "version" "gmail_imap_150825.08_p0" "remote-host" "37.2.30.206")
    10:23:36 S: H3 OK Success
    10:23:36 C: H4 SELECT "@SaneNotSpam" (CONDSTORE)
    10:23:36 S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen !Replyto !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing $has_cal @Aggregated @NewsList @Notifications @ReceiptRef @SaneLater DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.OmniFocus activity.Reminders att_r&aoq-tta done gmail important kickstarter newlabel1 newslist notifications ostgotatrafiken r&aoq-ttad randomon stgtatrafiken support today tradera&ebay)
    10:23:36 S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen !Replyto !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing $has_cal @Aggregated @NewsList @Notifications @ReceiptRef @SaneLater DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.OmniFocus activity.Reminders att_r&aoq-tta done gmail important kickstarter newlabel1 newslist notifications ostgotatrafiken r&aoq-ttad randomon stgtatrafiken support today tradera&ebay \*)] Flags permitted.
    10:23:36 S: * OK [UIDVALIDITY 511] UIDs valid.
    10:23:36 S: * 18 EXISTS
    10:23:36 S: * 0 RECENT
    10:23:36 S: * OK [UIDNEXT 89] Predicted next UID.
    10:23:36 S: * OK [HIGHESTMODSEQ 14617701]
    10:23:36 S: H4 OK [READ-WRITE] @SaneNotSpam selected. (Success)
    10:23:36 C: H5 NOOP
    10:23:36 S: H5 OK Success
    10:23:36 Performing full synchronization.
    10:23:36 C: H6 UID FETCH 1:88 (UID)
    10:23:37 S: * 1 FETCH (UID 60 MODSEQ (14393395))
    10:23:37 S: * 2 FETCH (UID 63 MODSEQ (14375946))
    10:23:37 S: * 3 FETCH (UID 64 MODSEQ (14375848))
    10:23:37 S: * 4 FETCH (UID 65 MODSEQ (14281845))
    10:23:37 S: * 5 FETCH (UID 68 MODSEQ (14375810))
    10:23:37 S: * 6 FETCH (UID 69 MODSEQ (14375774))
    10:23:37 S: * 7 FETCH (UID 70 MODSEQ (14440704))
    10:23:37 S: * 8 FETCH (UID 72 MODSEQ (14375507))
    10:23:37 S: * 9 FETCH (UID 75 MODSEQ (14375585))
    10:23:37 S: * 10 FETCH (UID 80 MODSEQ (14471368))
    10:23:37 S: * 11 FETCH (UID 81 MODSEQ (14472614))
    10:23:37 S: * 12 FETCH (UID 82 MODSEQ (14511839))
    10:23:37 S: * 13 FETCH (UID 83 MODSEQ (14578216))
    10:23:37 S: * 14 FETCH (UID 84 MODSEQ (14595174))
    10:23:37 S: * 15 FETCH (UID 85 MODSEQ (14603965))
    10:23:37 S: * 16 FETCH (UID 86 MODSEQ (14603962))
    10:23:37 S: * 17 FETCH (UID 87 MODSEQ (14604620))
    10:23:37 S: * 18 FETCH (UID 88 MODSEQ (14617632))
    10:23:37 S: H6 OK Success
    10:23:37 C: H7 UID FETCH 89:* (INTERNALDATE)
    10:23:37 S: * 18 FETCH (UID 88 MODSEQ (14617632) INTERNALDATE "02-Sep-2015 09:22:43 +0000")
    10:23:37 S: H7 OK Success
    10:23:37 C: H8 UID FETCH 1:88 (UID FLAGS X-GM-LABELS) (CHANGEDSINCE 14617701)
    10:23:37 S: H8 OK Success
    10:23:37 Storing flags
    10:23:37 C: H9 UID STORE 88 +FLAGS.SILENT (gmail Registration&Purchases)
    10:23:37 S: H9 OK Success
    10:23:37 C: H10 UID STORE 88 -FLAGS.SILENT (�)
    10:23:38 S: H10 BAD Could not parse command
    10:23:38 Error: Server response: “H10 BAD Could not parse command”.
    10:23:38 Error code: 1020
    10:23:38 Failed action (1007). Reset observed read/write timeouts: 8/8
    
    10:23:38 Handling reply
    
  • benny

    benny September 2nd, 2015 @ 12:06 PM

    Thanks, apparently MailMate somehow uses an empty string as an IMAP keyword name.I've looked into what changes might have triggered that, but I cannot seem to find it. I assume you don't have exact steps to reproduce this?

  • fnurl

    fnurl September 2nd, 2015 @ 09:08 PM

    Unfortunately not. I tried renaming a label again but that worked this time. I get the error sporadically, but the next time I get it I will try to reproduce it.

    I'm still having problems getting the recently added tags with gmail labels to show up in MailMate without restarting MailMate a few times. I seem to get the best results if MailMate is not running while I am doing stuff in the web interface, but I have not tested this too much.

  • benny

    benny September 3rd, 2015 @ 06:39 AM

    Hmm, it doesn't make sense that more than 1 restart is needed for anything. Note that the “Tagged” mailbox only shows a mailbox if at least 1 email exists with the corresponding tag. Does that explain anything?

  • fnurl

    fnurl September 4th, 2015 @ 12:05 PM

    It just happened again. I did not do anything -- MailMate was just running in the background. I did not even have any browsers loaded with the gmail web interface. Regarding the restart, what I am waiting for is the tag to show up in the Tags column in my INBOX.

    H10 BAD

    Here are the logs:

    11:42:10 S: * OK Gimap ready for requests from  b3mb57610281ldi
    11:42:10 C: H0 CAPABILITY
    11:42:10 S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=XOAUTH
    11:42:10 S: H0 OK Thats all she wrote! b3mb57610281ldi
    11:42:10 Retrieving password (keychain or user request)
    11:42:10 C: H1 AUTHENTICATE PLAIN ••••••••••
    11:42:10 S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS
    11:42:10 S: H1 OK xxxxxxxxxxxxxxxxxx authenticated (Success)
    11:42:10 C: H2 CAPABILITY
    11:42:10 S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS
    11:42:10 S: H2 OK Success
    11:42:10 C: H3 ID ("name" "MailMate" "version" "r5119" "vendor" "Freron Software" "contact" "mm-imap-id@freron.com")
    11:42:10 S: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "http://support.google.com/mail" "version" "gmail_imap_150830.08_p0" "remote-host" "")
    11:42:10 S: H3 OK Success
    11:42:10 C: H4 SELECT "@SaneNotSpam" (CONDSTORE)
    11:42:10 S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen !Replyto !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing $has_cal @Aggregated @NewsList @Notifications @ReceiptRef @SaneLater @SaneTop DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.OmniFocus activity.Reminders att_r&aoq-tta done gmail important kickstarter newlabel1 newslist notifications ostgotatrafiken r&aoq-ttad randomon stgtatrafiken support throttle today tradera&ebay)
    11:42:10 S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen !Replyto !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing $has_cal @Aggregated @NewsList @Notifications @ReceiptRef @SaneLater @SaneTop DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.OmniFocus activity.Reminders att_r&aoq-tta done gmail important kickstarter newlabel1 newslist notifications ostgotatrafiken r&aoq-ttad randomon stgtatrafiken support throttle today tradera&ebay \*)] Flags permitted.
    11:42:10 S: * OK [UIDVALIDITY 511] UIDs valid.
    11:42:10 S: * 20 EXISTS
    11:42:10 S: * 0 RECENT
    11:42:10 S: * OK [UIDNEXT 91] Predicted next UID.
    11:42:10 S: * OK [HIGHESTMODSEQ 14631872]
    11:42:10 S: H4 OK [READ-WRITE] @SaneNotSpam selected. (Success)
    11:42:10 C: H5 NOOP
    11:42:10 S: H5 OK Success
    11:42:10 Performing full synchronization.
    11:42:10 C: H6 UID FETCH 1:90 (UID)
    11:42:10 S: * 1 FETCH (UID 60 MODSEQ (14393395))
    11:42:10 S: * 2 FETCH (UID 63 MODSEQ (14375946))
    11:42:10 S: * 3 FETCH (UID 64 MODSEQ (14375848))
    11:42:10 S: * 4 FETCH (UID 65 MODSEQ (14281845))
    11:42:10 S: * 5 FETCH (UID 68 MODSEQ (14375810))
    11:42:10 S: * 6 FETCH (UID 69 MODSEQ (14375774))
    11:42:10 S: * 7 FETCH (UID 70 MODSEQ (14440704))
    11:42:10 S: * 8 FETCH (UID 72 MODSEQ (14375507))
    11:42:10 S: * 9 FETCH (UID 75 MODSEQ (14375585))
    11:42:10 S: * 10 FETCH (UID 80 MODSEQ (14471368))
    11:42:10 S: * 11 FETCH (UID 81 MODSEQ (14472614))
    11:42:10 S: * 12 FETCH (UID 82 MODSEQ (14511839))
    11:42:10 S: * 13 FETCH (UID 83 MODSEQ (14578216))
    11:42:10 S: * 14 FETCH (UID 84 MODSEQ (14595174))
    11:42:10 S: * 15 FETCH (UID 85 MODSEQ (14603965))
    11:42:10 S: * 16 FETCH (UID 86 MODSEQ (14603962))
    11:42:10 S: * 17 FETCH (UID 87 MODSEQ (14604620))
    11:42:10 S: * 18 FETCH (UID 88 MODSEQ (14617632))
    11:42:10 S: * 19 FETCH (UID 89 MODSEQ (14619838))
    11:42:10 S: * 20 FETCH (UID 90 MODSEQ (14631821))
    11:42:10 S: H6 OK Success
    11:42:10 C: H7 UID FETCH 91:* (INTERNALDATE)
    11:42:10 S: * 20 FETCH (UID 90 MODSEQ (14631821) INTERNALDATE "04-Sep-2015 11:27:10 +0000")
    11:42:10 S: H7 OK Success
    11:42:10 C: H8 UID FETCH 1:90 (UID FLAGS X-GM-LABELS) (CHANGEDSINCE 14631872)
    11:42:10 S: H8 OK Success
    11:42:10 Storing flags
    11:42:10 C: H9 UID STORE 90 +FLAGS.SILENT (gmail)
    11:42:10 S: H9 OK Success
    11:42:10 C: H10 UID STORE 90 -FLAGS.SILENT (�)
    11:42:10 S: H10 BAD Could not parse command
    11:42:10 Error: Server response: “H10 BAD Could not parse command”.
    11:42:10 Error code: 1020
    11:42:10 Failed action (1007). Reset observed read/write timeouts: 8/8
    
    11:42:10 Handling reply
    11:42:10 Running action
    11:42:10 Sending request (2096)
    11:42:10 Handling request
    11:42:10 Trying to disconnect nicely (8)...
    11:42:10 C: H11 LOGOUT
    11:42:10 S: * BYE LOGOUT Requested
    11:42:10 S: H11 OK 73 good day (Success)
    11:42:10 Clearing connection to imap.gmail.com
    11:42:12 Ready to run action
    11:42:12 Selecting mailbox: @SaneNotSpam
    11:42:12 Clearing connection to imap.gmail.com
    11:42:12 Trying to connect to imap.gmail.com on port 993
    11:42:12 Successful connection on socket 67.
    11:42:12 Initiating secure connection...
    11:42:12 Setup of secure connection complete (TLSv1).
    11:42:12  Cipher: RC4-SHA                 SSLv3 Kx=RSA      Au=RSA  Enc=RC4(128)  Mac=SHA1
    11:42:12 S: * OK Gimap ready for requests from  c11mb137190495lds
    11:42:12 C: H0 CAPABILITY
    11:42:12 S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=XOAUTH
    11:42:12 S: H0 OK Thats all she wrote! c11mb137190495lds
    11:42:12 Retrieving password (keychain or user request)
    11:42:12 C: H1 AUTHENTICATE PLAIN ••••••••••
    11:42:12 S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS
    11:42:12 S: H1 OK authenticated (Success)
    11:42:12 C: H2 CAPABILITY
    11:42:12 S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS
    11:42:12 S: H2 OK Success
    11:42:12 C: H3 ID ("name" "MailMate" "version" "r5119" "vendor" "Freron Software" "contact" "mm-imap-id@freron.com")
    11:42:12 S: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "http://support.google.com/mail" "version" "gmail_imap_150830.08_p0" "remote-host" "")
    11:42:12 S: H3 OK Success
    11:42:12 C: H4 SELECT "@SaneNotSpam" (CONDSTORE)
    11:42:12 S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen !Replyto !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing $has_cal @Aggregated @NewsList @Notifications @ReceiptRef @SaneLater @SaneTop DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.OmniFocus activity.Reminders att_r&aoq-tta done gmail important kickstarter newlabel1 newslist notifications ostgotatrafiken r&aoq-ttad randomon stgtatrafiken support throttle today tradera&ebay)
    11:42:12 S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen !Replyto !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing $has_cal @Aggregated @NewsList @Notifications @ReceiptRef @SaneLater @SaneTop DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.OmniFocus activity.Reminders att_r&aoq-tta done gmail important kickstarter newlabel1 newslist notifications ostgotatrafiken r&aoq-ttad randomon stgtatrafiken support throttle today tradera&ebay \*)] Flags permitted.
    11:42:12 S: * OK [UIDVALIDITY 511] UIDs valid.
    11:42:12 S: * 20 EXISTS
    11:42:12 S: * 0 RECENT
    11:42:12 S: * OK [UIDNEXT 91] Predicted next UID.
    11:42:12 S: * OK [HIGHESTMODSEQ 14631872]
    11:42:12 S: H4 OK [READ-WRITE] @SaneNotSpam selected. (Success)
    11:42:12 C: H5 NOOP
    11:42:12 S: H5 OK Success
    11:42:12 Performing full synchronization.
    11:42:12 C: H6 UID FETCH 1:90 (UID)
    11:42:13 S: * 1 FETCH (UID 60 MODSEQ (14393395))
    11:42:13 S: * 2 FETCH (UID 63 MODSEQ (14375946))
    11:42:13 S: * 3 FETCH (UID 64 MODSEQ (14375848))
    11:42:13 S: * 4 FETCH (UID 65 MODSEQ (14281845))
    11:42:13 S: * 5 FETCH (UID 68 MODSEQ (14375810))
    11:42:13 S: * 6 FETCH (UID 69 MODSEQ (14375774))
    11:42:13 S: * 7 FETCH (UID 70 MODSEQ (14440704))
    11:42:13 S: * 8 FETCH (UID 72 MODSEQ (14375507))
    11:42:13 S: * 9 FETCH (UID 75 MODSEQ (14375585))
    11:42:13 S: * 10 FETCH (UID 80 MODSEQ (14471368))
    11:42:13 S: * 11 FETCH (UID 81 MODSEQ (14472614))
    11:42:13 S: * 12 FETCH (UID 82 MODSEQ (14511839))
    11:42:13 S: * 13 FETCH (UID 83 MODSEQ (14578216))
    11:42:13 S: * 14 FETCH (UID 84 MODSEQ (14595174))
    11:42:13 S: * 15 FETCH (UID 85 MODSEQ (14603965))
    11:42:13 S: * 16 FETCH (UID 86 MODSEQ (14603962))
    11:42:13 S: * 17 FETCH (UID 87 MODSEQ (14604620))
    11:42:13 S: * 18 FETCH (UID 88 MODSEQ (14617632))
    11:42:13 S: * 19 FETCH (UID 89 MODSEQ (14619838))
    11:42:13 S: * 20 FETCH (UID 90 MODSEQ (14631821))
    11:42:13 S: H6 OK Success
    11:42:13 C: H7 UID FETCH 91:* (INTERNALDATE)
    11:42:13 S: * 20 FETCH (UID 90 MODSEQ (14631821) INTERNALDATE "04-Sep-2015 11:27:10 +0000")
    11:42:13 S: H7 OK Success
    11:42:13 C: H8 UID FETCH 1:90 (UID FLAGS X-GM-LABELS) (CHANGEDSINCE 14631872)
    11:42:13 S: H8 OK Success
    11:42:13 Storing flags
    11:42:13 C: H9 UID STORE 90 +FLAGS.SILENT (gmail)
    11:42:13 S: H9 OK Success
    11:42:13 C: H10 UID STORE 90 -FLAGS.SILENT (�)
    11:42:13 S: H10 BAD Could not parse command
    11:42:13 Error: Server response: “H10 BAD Could not parse command”.
    11:42:13 Error code: 1020
    11:42:13 Failed action (1007). Reset observed read/write timeouts: 8/8
    
    11:42:13 Handling reply
    11:42:13 Running action
    11:42:13 Sending request (3891)
    11:42:13 Handling request
    11:42:13 Trying to disconnect nicely (8)...
    11:42:13 C: H11 LOGOUT
    11:42:13 S: * BYE LOGOUT Requested
    11:42:13 S: H11 OK 73 good day (Success)
    11:42:13 Clearing connection to imap.gmail.com
    11:42:16 Ready to run action
    11:42:16 Selecting mailbox: @SaneNotSpam
    11:42:16 Clearing connection to imap.gmail.com
    11:42:16 Trying to connect to imap.gmail.com on port 993
    11:42:16 Successful connection on socket 67.
    11:42:16 Initiating secure connection...
    11:42:16 Setup of secure connection complete (TLSv1).
    11:42:16  Cipher: RC4-SHA                 SSLv3 Kx=RSA      Au=RSA  Enc=RC4(128)  Mac=SHA1
    11:42:16 S: * OK Gimap ready for requests from  r140mb80686007lfr
    11:42:16 C: H0 CAPABILITY
    11:42:16 S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=XOAUTH
    11:42:16 S: H0 OK Thats all she wrote! r140mb80686007lfr
    11:42:16 Retrieving password (keychain or user request)
    11:42:16 C: H1 AUTHENTICATE PLAIN ••••••••••
    11:42:16 S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS
    11:42:16 S: H1 OK authenticated (Success)
    11:42:16 C: H2 CAPABILITY
    11:42:16 S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS
    11:42:16 S: H2 OK Success
    11:42:16 C: H3 ID ("name" "MailMate" "version" "r5119" "vendor" "Freron Software" "contact" "mm-imap-id@freron.com")
    11:42:16 S: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "http://support.google.com/mail" "version" "gmail_imap_150830.08_p0" "remote-host" "")
    11:42:16 S: H3 OK Success
    11:42:16 C: H4 SELECT "@SaneNotSpam" (CONDSTORE)
    11:42:16 S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen !Replyto !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing $has_cal @Aggregated @NewsList @Notifications @ReceiptRef @SaneLater @SaneTop DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.OmniFocus activity.Reminders att_r&aoq-tta done gmail important kickstarter newlabel1 newslist notifications ostgotatrafiken r&aoq-ttad randomon stgtatrafiken support throttle today tradera&ebay)
    11:42:16 S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen !Replyto !attbetala $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing $has_cal @Aggregated @NewsList @Notifications @ReceiptRef @SaneLater @SaneTop DISPATCH-ACTIONED Hemma Junk JunkRecorded NonJunk NotJunk Registration&E-commerce Registration&Purchases activity.OmniFocus activity.Reminders att_r&aoq-tta done gmail important kickstarter newlabel1 newslist notifications ostgotatrafiken r&aoq-ttad randomon stgtatrafiken support throttle today tradera&ebay \*)] Flags permitted.
    11:42:16 S: * OK [UIDVALIDITY 511] UIDs valid.
    11:42:16 S: * 20 EXISTS
    11:42:16 S: * 0 RECENT
    11:42:16 S: * OK [UIDNEXT 91] Predicted next UID.
    11:42:16 S: * OK [HIGHESTMODSEQ 14631872]
    11:42:16 S: H4 OK [READ-WRITE] @SaneNotSpam selected. (Success)
    11:42:16 C: H5 NOOP
    11:42:16 S: H5 OK Success
    11:42:16 Performing full synchronization.
    11:42:16 C: H6 UID FETCH 1:90 (UID)
    11:42:16 S: * 1 FETCH (UID 60 MODSEQ (14393395))
    11:42:16 S: * 2 FETCH (UID 63 MODSEQ (14375946))
    11:42:16 S: * 3 FETCH (UID 64 MODSEQ (14375848))
    11:42:16 S: * 4 FETCH (UID 65 MODSEQ (14281845))
    11:42:16 S: * 5 FETCH (UID 68 MODSEQ (14375810))
    11:42:16 S: * 6 FETCH (UID 69 MODSEQ (14375774))
    11:42:16 S: * 7 FETCH (UID 70 MODSEQ (14440704))
    11:42:16 S: * 8 FETCH (UID 72 MODSEQ (14375507))
    11:42:16 S: * 9 FETCH (UID 75 MODSEQ (14375585))
    11:42:16 S: * 10 FETCH (UID 80 MODSEQ (14471368))
    11:42:16 S: * 11 FETCH (UID 81 MODSEQ (14472614))
    11:42:16 S: * 12 FETCH (UID 82 MODSEQ (14511839))
    11:42:16 S: * 13 FETCH (UID 83 MODSEQ (14578216))
    11:42:16 S: * 14 FETCH (UID 84 MODSEQ (14595174))
    11:42:16 S: * 15 FETCH (UID 85 MODSEQ (14603965))
    11:42:16 S: * 16 FETCH (UID 86 MODSEQ (14603962))
    11:42:16 S: * 17 FETCH (UID 87 MODSEQ (14604620))
    11:42:16 S: * 18 FETCH (UID 88 MODSEQ (14617632))
    11:42:16 S: * 19 FETCH (UID 89 MODSEQ (14619838))
    11:42:16 S: * 20 FETCH (UID 90 MODSEQ (14631821))
    11:42:16 S: H6 OK Success
    11:42:16 C: H7 UID FETCH 91:* (INTERNALDATE)
    11:42:16 S: * 20 FETCH (UID 90 MODSEQ (14631821) INTERNALDATE "04-Sep-2015 11:27:10 +0000")
    11:42:16 S: H7 OK Success
    11:42:16 C: H8 UID FETCH 1:90 (UID FLAGS X-GM-LABELS) (CHANGEDSINCE 14631872)
    11:42:16 S: H8 OK Success
    11:42:16 Storing flags
    11:42:16 C: H9 UID STORE 90 +FLAGS.SILENT (gmail)
    11:42:16 S: H9 OK Success
    11:42:16 C: H10 UID STORE 90 -FLAGS.SILENT (�)
    11:42:16 S: H10 BAD Could not parse command
    11:42:16 Error: Server response: “H10 BAD Could not parse command”.
    11:42:16 Error code: 1020
    11:42:16 Failed action (1007). Reset observed read/write timeouts: 8/8
    
    11:42:16 Handling reply
    

    (btw, I can't upload any attachments here on lighthouse)

  • benny

    benny September 4th, 2015 @ 01:26 PM

    I still cannot reproduce it. I'll insert a couple of checks and crash if anything unexpected happens. That'll make it worse for you, but maybe easier for me to debug.

    In a few minutes, hold down ⌥ when clicking “Check Now” to fetch it.

  • fnurl

    fnurl September 5th, 2015 @ 12:31 PM

    Just had my first crash with the new version. Logs have been sent.

  • fnurl

    fnurl September 6th, 2015 @ 02:23 PM

    Tell me if i should start another ticket for this:

    No tags in column, tags in message

    The tags for the message gets listed in the email view, but not in the message list.

  • benny

    benny September 6th, 2015 @ 03:59 PM

    Crash: Do you still get these regularly? If you do then try launching from a Terminal window. I'd like to know if there is some output before the crash:

    /Applications/MailMate.app/Contents/MacOS/MailMate
    

    Empty tags: Does this always happen? (I am not able to reproduce it.)

  • fnurl

    fnurl September 9th, 2015 @ 05:35 AM

    Empty tags: no, that was the first time I've seen it. MailMate got an error during the night, so I'm sending the output from the terminal + mailmate_parser_problems.log + logs via email.

  • benny

    benny September 29th, 2015 @ 02:52 PM

    • State changed from “fixcommitted” to “fixreleased”

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

Tags

Pages