Cannot delete email

I got this error, when I try to remove email from my inbox:

Cannot delete or cancel because Communication x is linked with Email Queue y

how can I solve this? It worked on v10, but now I am on v11 staging:

ERPNext: v11.0.3-beta.24 () (staging)

Frappe Framework: v11.0.3-beta.29 () (staging)