Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Deleting emails do not reflect in Gmail

#3153

In the web GUI I do the following:

  • Select an email in my inbox
  • Hit the trash icon

This will move my message from the Inbox to the Trash folder in Gmail. It has also moved from INBOX to my Trash folder in MailMate

Now on MailMate I do the following:

  • Select an email in my INBOX
  • Hit the trash icon

Now my message is removed from the MailMate INBOX and is moved to my [GMAIL] -> Trash folder in MailMate.

However, on the web GUI (and iPhone), it’s still in my INBOX and has NOT moved to my Trash folder.

So now my question remains, how should I’ve configured this? Note that this used to work before I upgraded (unfortunately I can’t remember from which test version I upgraded to Version 1.14 (5927) before it broke down).

What I’ve configured is that in the [Gmail] -> Trash folder I hit the right mouse, and select “Deleted Messages” as Mailbox type. Should I configure more??

Cheers,

Eelco

Reported by Eelco Chaudron · November 16th, 2022 @ 07:30 AM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny

    First check that all of your mailboxes are online within the account. This means no greyed out mailboxes when you expand the account under Sources in the mailbox list. Your description matches what would happen if the mailbox assigned for deleted messages is offline. In this case, MailMate cannot complete the move, that is, it's pending in MailMate.

    A mailbox shouldn't go offline unless there has been a persistent error which MailMate should have told about. Therefore it's possible that such an error will re-appear when/if you can take the mailbox online (if I'm right about the above). This might be a different issue we'll need to resolve.

    If the problem is something else then we'll debug by creating some activity logs.

    November 16th, 2022 @ 09:08 AM

  2. Eelco Chaudron
    Eelco Chaudron

    Hi Benny,

    The mailbox is not offline, I tried taking it offline, and then back online, but no luck.

    The thing is that if I delete a message on the web GUI, it will reflect in my trash folder. The activity viewer also does not show any activity if I delete something locally.

    Please let me know what debug logs you need.

    //Eelco

    November 16th, 2022 @ 09:29 AM

  3. Eelco Chaudron
    Eelco Chaudron

    Hi Benny,

    Any update on how to troubleshoot this? Asking as this makes using MM almost impossible. Even if I try to move some messages from my inbox to another mailbox it's only happening in MM, not in the Gmail GUI.

    In the meantime is there a way to downgrade to a previous test build safely? If so, where can I find the binaries?

    November 17th, 2022 @ 11:45 AM

  4. benny
    benny

    Based on your reply, I think you missed what I wrote. It's partly due to a mix of terms. Some times a mailbox is used to describe an account/source, but this is not what I meant. I wrote: “This means no greyed out mailboxes when you expand the account under Sources in the mailbox list.”

    So, to make sure this is not the issue:

    • Find the “Sources” section of the mailbox list in MailMate.
    • If not already expanded then expand it.
    • Find the problematic account.
    • Make sure it's fully expanded, e.g., by holding down the option key when clicking the triangle.
    • Make sure no mailboxes within the account are offline in any way (they would then be greyed out).
    • Make sure no mailboxes have persistent spinners (which could be a sign that something is busy-looping).

    If anything is offline within the account: Use “Mailbox > Take Online” to see if it can be synchronized.

    If the above is all good and well:

    • Open the Activity Viewer (to enable logging).
    • Relaunch MailMate (to be sure to trigger a resync of the account).
    • Delete a message (which would trigger the bug).
    • Use “Help > Send Server Logs”.

    Then I'll review the result. Thanks for your patience.

    November 17th, 2022 @ 03:50 PM

  5. Eelco Chaudron
    Eelco Chaudron

    There are no mailboxes offline, so that is not the problem. I've opened MM, wait for it to turn idle in the activity viewer, restarted MM, and first deleted an email, then moved on to the Bugzilla mailbox.

    The logs are sent your way from my work account with reference, My system: MailMate/5927/E487C22E-FB75-5088-9E68-0FD5DBAE9F9C 12.6.1/x86_64/iMac17,1/8

    November 17th, 2022 @ 06:58 PM

  6. benny
    benny

    Thanks for the logs. Your INBOX is fully synchronized, but otherwise it appears to be busy synchronizing your (many) mailboxes. Does it every finish (spinner stops for the account)?

    To simplify the issue, you could try taking all of the mailboxes within the account offline except the INBOX and the destination mailbox for your deletes. (You can shift-select mailboxes before using “Mailbox > Take Offline”.)

    Then repeat the creation of logs. This should result in at most 2 active connections and maybe we can then see why MailMate does not think it can perform the move on the server.

    November 18th, 2022 @ 07:41 AM

  7. Eelco Chaudron
    Eelco Chaudron

    It takes a long time before all my mailboxes get sync, no idea why though. But this problem happened even when if all is synced up...

    I sent you the logs with all mboxes disabled, except the once in [Gmail] and the INBOX.

    However I disabled all mailboxes and restarted MM, now I deleted the message with subject “XXX” and it got deleted.

    I’ve tried deleting some more messages and it worked fine.

    Now I’ve taken all mailboxes back online and waited for my account under Source to be stable, no more spinning radar, just showing the number of unread messages.

    Then I deleted another email, “XXX”, and it also got deleted :(

    So no idea what has happened here, but maybe taking all mailboxes offline and online solved the problem? I’ll continue to work with MM as usual and report back…

    //Eelco

    November 18th, 2022 @ 11:14 AM

  8. Eelco Chaudron
    Eelco Chaudron

    PS: I send all the logs and the exact mail subjects in the direct email.

    November 18th, 2022 @ 11:15 AM

  9. Eelco Chaudron
    Eelco Chaudron

    Actually right after updating this ticker, I got it to fail again. Send you a new log...

    November 18th, 2022 @ 11:18 AM

  10. Eelco Chaudron
    Eelco Chaudron

    Would it make sense/is it possible to revert to an earlier version to see if it works?

    November 18th, 2022 @ 11:23 AM

  11. benny
    benny

    With regard to “revert to an dearlier version”: No, this is not the problem.

    In your last logs I noticed the Gmail account is in a throttled state. I think this is the problem. The throttled state is likely related to the very large number of mailboxes and/or messages in the account.

    I suggest you take most of your mailboxes in the account to the “Manually” synchronization schedule (in the Mailbox menu). This won't be a problem if you mainly use MailMate to move messages. Mailboxes are always synchronized when selected/viewed. After doing this you should give the account a few hours before trying a deletion again. Google needs to detect a decrease in network activity to “release” the account from the throttled state.

    November 18th, 2022 @ 11:48 AM

  12. Eelco Chaudron
    Eelco Chaudron

    Ok if reverting is not a problem, I only had this issue appear about two weeks ago, nothing changed, and I only added a mailbox or two.

    Even when the mailbox is not in a throttled state, it showed me the problem. However, I will try to disable most of my mailboxes with the exception of the ones I moved email to with a filter in Gmail.

    To be continued...

    November 18th, 2022 @ 01:52 PM

  13. Eelco Chaudron
    Eelco Chaudron

    Ok, so it looks like that now most of my mailboxes are set to "manual" I no longer have the issue. I guess I was just on the edge, and when adding some more folders this issue started happening.

    I however do sometimes see that my manual folders get marked as unavailable, and it goes away if a select the folders.

    Two more questions:

    • is it possible to automatically set the newly created folder to manual?
    • is there a way to sync all my manual folders, before I step on the plane with my laptop which I have not used for a couple of weeks? I think I can expand all my folder views, and then select sync, but would be nice if I do not have to manually expand and select.

    November 25th, 2022 @ 12:48 PM

  14. benny
    benny
    1. Synchronization schedule should be inherited (by default it's the schedule of the parent mailbox except for special cases like INBOX and All Mail).
    2. That should happen when using “File > Synchronize > ...” or “Mailbox > Synchronize” on an account.

    November 25th, 2022 @ 02:04 PM

  15. Justin Bradley
    Justin Bradley

    Hi @benny. I also have this problem, which also appeared rather suddenly, though without moving to a new version of Mailmate. I assume throttling is the issue. What I don't understand is what to do about it in the long term. Is this a gmail issue? Gmail sold us on never having to delete a message, that was the promise of "Archive". I have relatively few mailbox folders, but do have a lot of messages. So I presume that's the problem. I delete all non-personal emails (junk, mailing lists, etc.), but I was a very early gmail adopter so I have messages back to Jan 2005.

    So is the long term fix for this to just delete a bunch of my messages (which is a bit ironic given that the problem is that deleting messages doesn't sync)? I'd rather not do that. I already have the synch schedule set to every 10 min. Suggestions?

    March 15th, 2023 @ 10:43 PM

  16. Marcos Sagrado
    Marcos Sagrado

    Hi Benny,

    I have a very similar problem. I've sent you the logs minutes ago in case you can review them and find what's making MM keep on idling.

    My system: MailMate/5937/E9D08D44-A552-5B88-97F7-B67CA3D79085 13.4.0/arm64/Mac14,5/12

    Thanks.

    July 12th, 2023 @ 11:26 AM

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.