Empty Trash Not Working

Description

When I deleted a draft email reply to a certain email, there is a new trash email generated. But when I hit empty trash, the trash did not go away.

To Reproduce…

Steps to reproduce the behavior:

  1. Go to any received email, scroll to the bottom
  2. Click on ‘write a reply’
  3. click ‘delete’ icon
  4. go to trash folder
  5. click empty trash now… nothing happened

Expected Behavior

trash folder should be empty

Screenshots

Setup

  • OS and Version: Windows 10 Home, Build 18363
  • Mailspring Version: 1.7.7

(Originally posted by chenhao1umbc on GitHub.)

Can confirm. Deleted empty drafts appear as empty threads in the trash bin and these empty cannot be removed from there (unless you rebuild all cache…).

When you drag these empty threads back into the inbox, completely random things start happening (e.g. other recent emails from the inbox suddenly disappear from the inbox and pop up in the trash; or other recent emails from the inbox turn into empty threads, causing data loss). So: don’t drag the empty threads from the trash into the inbox!


(Originally posted by asparc on GitHub.)

I confirm, that this is reproducible reliably in the latest release. I have a few infos to add:

  • This even happens for me if the draft e-mail has some content
  • The thread where tha draft e-mail is deleted is displayed in the Trash, whereas the draft e-mail seems to be completely deleted and does not appear in the thread that is displayed in the Trash
  • Cleaning the mailsync cache deletes the thread from the view in the Trash

The commands that are sent from the UI to the Mailsync Engine seem correct. Therefore this looks like it needs to be resolved inside the sync engine.

1 Like

Duplicate: Mails persist in the trash after emptying the trash or the junk

Description

One of the emails don’t get removed from my trash folder in Mailspring, even though it is removed on the mail server.

To Reproduce…

Steps to reproduce the behavior:

  1. Click the button “empty trash now”
  2. Verify the email is still present in the trash folder in Mailspring
  3. Verify the email is not present anymore in the mailserver

Expected Behavior

The email should not show in the Trash folder anymore.

Screenshots

Setup

  • OS and Version: Pop_!OS 20.10
  • Installation Method: snap
  • Mailspring Version: 1.8.0

Additional Context

The email is not part of a thread of emails. It is 1 email.
The content of the email is not shown, also not when I restore it to the inbox.
When I restore the email to the inbox, then remove, the empty the trash, the email still remains in the trash.

Hi @armaccloud,

Please try to clean your local Mailspring Cache as follows:

  • Go to Preferences > Accounts
  • Click on “Rebuild Cache”

Does this resolve the issue?

1 Like

Hi @Phylu
This solved the issue for me. Thanks!

This here seems to be the same issue: