Emails disappear after setting Tag/Gmail label
Reported by Ahmed Qrfh | January 28th, 2017 @ 09:54 PM
Hi Benny,
I'm stuck with a Tag/Gmail Label issue on which I found some references online (https://lists.freron.com/mailmate/2016-September/006891.html); but, I have yet to solve it.
I started trying Mailmate (Version 1.9.6-5332) a few days ago. I have 4 gmail accounts all set up. In one account (call it account#1), I have only one label defined server-side. All labeled emails are in their own folder and not in inbox or anywhere else.
The emails show up fine in Mailmate so long as I do NOT define the "Gmail Label" under Tags preferences. The label name is "di", I used the same for the Tag name. When the "Gmail Label" is not defined, the "di" folder shows up under Sources, account#1.
However, when I set the "Gmail Label" under Tags preferences to "di":
- The "di" folder disappears from Sources, account#1 (as it
should, as far as I understand)
- I cannot find the emails anywhere else in Mailmate. Only a few sent emails show up tagged "di"
At this point I couldn't find any other way to retrieve these messages other than by deleting the "Gmail Label" setting in Tags preferences. Once I do that, Mailmate downloads all relevant messages again.
Technically, I found a workaround but it's ugly: in Gmail, if I move all the "di"-labeled messages to inbox and then define the "Gmail Label" under Tags preferences, Mailmate unsubscribes the "di" folder but messages still show up. I'd rather not use this approach as I'm so looking forward to migrating my work email (also gmail) to Mailmate and in that account I have way too many tags/labels to be doing this.
The only other thing I could think of was subscribing Gmail/All Mail folder after completing the Tag/Gmail Label setings. Not sure if this will cause a bunch of duplicate emails (especially with my heavy-duty work account).
Thanks in advance for your help.
Comments and changes to this ticket
-
Ahmed Qrfh February 22nd, 2017 @ 10:56 AM
Hi all,
Given that this seems to be a pretty fundamental feature and no one else (other than that reported in OP) is reporting a similar issue, I'm starting to ask myself whether I'm doing something wrong.
Any comments from anyone with suggestions are welcome.
Thanks!
-
benny February 22nd, 2017 @ 11:16 AM
- State changed from new to resolved
Sorry about the late update! I'm unfortunately behind on answering tickets at the moment.
Subscribing to “[Gmail]/All Mail” is actually exactly what you should do. It's not subscribed by default, because MailMate has to do quite a lot of side-stepping to keep it properly in sync without causing duplicate emails. Some users also have a ridiculous number of emails in “All Mail” because it's often used as a trash can. But I think this “feature” is stable now (there has been an issue with busy looping when synchronizing “All Mail” under certain circumstances).
Let me know if this does not resolve your issue.
-
Ahmed Qrfh February 22nd, 2017 @ 01:50 PM
Seems to have done the trick.
It's weird because I had tried this previously and it didn't quite work. Perhaps I didn't wait long enough to make sure all emails are downloaded.
Thanks a bunch.
-
benny February 22nd, 2017 @ 01:52 PM
It can certainly be slow to fetch a large Gmail “All Mail” mailbox, but MailMate might also have (or had) some issue when enabling/disabling this mailbox.
Again, sorry about the late reply.
-
Ahmed Qrfh February 22nd, 2017 @ 03:28 PM
Benny,
I noticed what I think is a weird behavior:
After subscribing [Gmail]/All Mail and then setting up the Tag/Gmail label settings, the "di" emails, which wouldn't show without the subscription step, show up fine in my smart mailbox which is set up to separate emails from various mailing lists (List-Id exists condition) into submailboxes.
On the other hand, when I look at the "Tagged" smart mailbox under Examples that comes standard with Mailmate, only emails before Feb 13th show. Why Feb 13th? I think it's because I previously had a rule defined in my mailing lists smart mailbox that specifically tagged the "di" emails as "di" in MailMate.
On Feb 13th, during the course of my trial-and-error attempts, I removed this rule. All "di" emails received thereafter were not tagged by MailMate automatically.
Another clue that could help: I look at the "Raw Flags" column in my smart mailbox, I see that emails received after Feb 13th only has the "\Seen" raw flag and not the "di" flag.
What do you think about this? If I didn't have the abovementioned rule, it looks like the emails wouldn't have shown up under "Tagged" at all.
-
Ahmed Qrfh February 22nd, 2017 @ 06:21 PM
Benny,
I confirmed my theory by doing the following:
- Removed the "di" tag from all emails in MM
- Deleted the tag from the Tag/Gmail label preferences
pane
- Defined a new tag in MailMate whose display name and IMAP keyword are "diis" and whose Gmail label field is set to "di"
[Gmail]/All Mail is subscribed. The results are:
- No email shows up in Examples/Tagged smart mailbox.
- Emails show up fine in my mailing lists smart mailbox (thanks
to your help earlier)
- None of the emails have the tag "diis" applied.
- None of the emails have anything but \Seen in the Raw Flags
column.
- [Gmail]/di folder does not show under Sources-Account#1
In summary, the original problem of emails disappearing has been solved, but now MM won't automatically tag these emails, which are labeled in Gmail.
Will keep poking around to see if I can figure this out.
- Removed the "di" tag from all emails in MM
-
Ahmed Qrfh February 23rd, 2017 @ 08:11 PM
An update:
Newly received emails get tagged fine. It's only the emails that were already received that don't get tagged.I'm not sure if this is expected behavior, but it's something I can live with for now.
-
benny March 1st, 2017 @ 03:04 PM
Sorry about the late response. I think most of this is expected behavior. It's a bit risky to let MailMate do too much automatically when the user changes the Tags preferences. Essentially, changing tags only changes the mapping between IMAP keywords and Gmail labels. It never changes existing messages. When MailMate sees new messages with a given Gmail label then it automatically adds the corresponding IMAP keywords, because otherwise it wouldn't really work very well. Similarly when changing a tag in MailMate then the corresponding Gmail label is also added.
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.
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.