Empty Trash works only once per session

Description

I have several mailboxes, but I can trash the bin folder only once per session.

To Reproduce…

Steps to reproduce the behavior:

Delete 1 email from inbox
then go to trash hit “empty trash” - the email is gone.
go back to inbox
delete another email
go to Trash folder
Instead of the empty trash button a spinning wheel is showing.
I can open/unfold the trash folder
find the trash folder corresponding to that mailbox where the email was in and hit “empty trash”
or i can close and re-open mailspring and hit the top trash folder and hit empty trash then

Expected Behavior

The “Empty Trash now” button should be available again, after hitting it.

Screenshots

After deleting another email and emptying the trash bin, the “Empty trash now” button is not showing. Instead a spinning wheel is showing up.

Opening the top trash bin folder to see all trash bins from all mailboxes
Screenshot 2024-03-31 at 19.30.17

After finding the right sub trash bin folder, the “Empty trash now” is showing. But not showing on the top trash bin folder.

Setup

  • OS and Version: MacOS 10.15.7
    • Installation Method:.dmg
  • Mailspring Version:Version 1.13.3 (1.13.3)