Import functionality is almost broken
**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
### 1
1. Export k9s_settings on older App version.
2. Remove older App version.
3. Install build v5.727.
4. Have firewall block App from internet.
5. Import all previously exported settings.
6. (Optional) Enable Internet access for App.
7. All Mail accounts have only an empty "Outbox" folder.

### 2
1. Export k9s_settings on older App version.
2. Remove older App version.
3. Install build v5.727.
4. Let App have internet access.
5. Import all previously exported settings.
6. Provide wrong password for any amount of mail accounts.
7. All Mail accounts, that were provided with a wrong password, have only an empty "Outbox" folder.
8. Remove faulty Mail account.
9. Re-import this faulty mail account, only.
10. The empty "Outbox" folder is now the default folder on top of all folders.
11. Every time you change to this mail account, the "Outbox" folder will _always_ be the first one opened on top.
12. There is no way to set the "Inbox" folder back to top.

This is only a summary of all the issues. There are more very similar issues, that I do not want to repeat here.
In short, the Import functionality is almost broken; if you just make 1 mistake, you have to uninstall and re-install the whole application. This is no way to treat imports.

**Expected behavior**
Importing works smoothly.

**Environment (please complete the following information):**
 - K-9 Mail version: v5.727
 - Android version: 11
 - Device: POCO X3
 - Account type: Generic IMAP

**Additional context**
The "stable" version always crashes, when I try to import settings. That's why I am using the newest "Pre-Release" version.

**Logs**
Please take some time to [retrieve logs](https://github.com/k9mail/k-9/wiki/LoggingErrors) and attach them here:
No, I will not uninstall and re-install the App for the 7th time.


diff --git a/app/core/src/main/java/com/fsck/k9/controller/MessagingController.java b/app/core/src/main/java/com/fsck/k9/controller/MessagingController.java
index 67c365a44..38fb82ca2 100644
--- a/app/core/src/main/java/com/fsck/k9/controller/MessagingController.java
+++ b/app/core/src/main/java/com/fsck/k9/controller/MessagingController.java
@@ -2356,6 +2356,8 @@ public class MessagingController {
 
         sendPendingMessages(account, listener);
 
+        refreshFolderListIfStale(account);
+
         try {
             Account.FolderMode aDisplayMode = account.getFolderDisplayMode();
             Account.FolderMode aSyncMode = account.getFolderSyncMode();
['app/core/src/main/java/com/fsck/k9/controller/MessagingController.java']