Issue caused by "Sent Items" folder still exists

Description

I encountered the bug described in this Github post from 2019 earlier today.

To Reproduce…

Steps to reproduce the behavior:

Add an IMAP account that contains more than one folder for sent mail. In my case, I had previously used Thunderbird which created a “Sent Items” folder alongside my provider’s default “Sent” folder.

Expected Behavior

Mailspring should ask which folder to use (ideal), or choose one or the other by default (not ideal, but functional). At the very least, the error message should clarify that conflicting sent folders are creating the problem; as it stands the only way to figure this out is to pull up a 6-year-old issue thread.

Setup

  • OS and Version: Ubuntu 25.04
    • Installation Method: Snap
  • Mailspring Version: 1.15.1-cb02bf10