IllegalStateException no outbox_state entry for message when deleting into Trash (IMAP)
Checklist
- [X] I have used the search function to see if someone else has already submitted the same bug report.
- [X] I will describe the problem with as much detail as possible.
App version
6.201
Where did you get the app from?
Google Play
Android version
8
Device model
shiftphone Shift 6m
Steps to reproduce
- delete an email in your IMAP inbox
- reload and get this error:

(in Thunderbird it all works fine)
Expected behavior
the email should be moved into trash
Actual behavior
The email seems to be gone at first, but after a reload it reappears, where it was. So I cannot delete any email in K9 any more.
Logs
No response
This seems to be the same error her: https://forum.k9mail.app/t/k9-beta-5-734-no-outbox-state-entry/1011
This is not related to deleting messages. Something went wrong when trying to send a message.
Try deleting all messages from the Outbox. If that doesn't help, please remove the account from K-9 Mail and add it again.
I guess that will help, but shouldn't we try to really solve the bug instead of such a workaround?
There's little chance of finding the bug unless you can provide instructions on how to reliably reproduce this error. We only know your account is in a broken state. We don't know how it got there.
deleting all messages from the Outbox didn't help.
deleting all messages in "Endw&APw-rfe" (strange error in the name) and in Trash helped though ;-/ ???
Perhaps a way to get the message by id would help to narrow it down?