Wasnt able to delete any emails #82

Open
opened 2025-11-13 14:03:21 -05:00 by skibidiandulka · 1 comment
skibidiandulka commented 2025-11-13 14:03:21 -05:00 (Migrated from github.com)

Error!

There was an error deleting the selected senders.

After I tried to delete all of my emails. Also it was not able to unsubscribe. When I clicked unsubscribed (even with the option to delete the emails off) It just started loading and never finished.

❌ Error! There was an error deleting the selected senders. After I tried to delete all of my emails. Also it was not able to unsubscribe. When I clicked unsubscribed (even with the option to delete the emails off) It just started loading and never finished.
Ambushfall commented 2025-11-14 09:03:01 -05:00 (Migrated from github.com)

This could be handled by adding a MutationObserver and observing the change properly, rather than it is currently. I'm afraid that the current implementation doesn't really work.

The current way the MutationObserver is implemented wouldn't work anyway (although even if it did, it would still fail the loop for deletion after 2 pages of deleted mails)

I reckon it requires some debugging as it's throwing errors in regards to the dispatchEvent method.

Issue lies in 2 places:

~~This could be handled by adding a MutationObserver and observing the change properly, rather than it is currently. I'm afraid that the current implementation doesn't really work.~~ The current way the MutationObserver is implemented wouldn't work anyway (although even if it did, it would still fail the loop for deletion after 2 pages of deleted mails) I reckon it requires some debugging as it's throwing errors in regards to the dispatchEvent method. Issue lies in 2 places: - https://github.com/InboxWhiz/gmail-declutter-extension/blob/5f0065626ea730789a7991a14cb3c26cd8c0a9c4/src/data/services/browser_email_service.ts#L275-L278 - https://github.com/InboxWhiz/gmail-declutter-extension/blob/5f0065626ea730789a7991a14cb3c26cd8c0a9c4/src/data/services/browser_email_service.ts#L283-L286
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
InboxWhiz/gmail-declutter-extension#82
No description provided.