iCloud "database disk image is malformed" sync error

Read through the sync issues category and don’t see anything relevant.


after using Mailspring for a couple of weeks, I now receive an error regarding syncing with my iCloud account. " database disk image is malformed" is the error presented.
FYI, I have 4 gmail accounts and none are experiencing this issue, just the iCloud account.


The issue is permanent - “try again” button causes the same error message.

Email Provider

iCloud - the account is an xxx@me.com account. It is set up with an app-specific password and connects properly, which I’ve repeated a number of times with the same result.


  • OS and Version: MacOS Ventura 13.6 on 15" intel based MacBook Pro
    • Installation Method: installer
  • Mailspring Version: 1.11.0

Just a quick thought and not sure if you’re tried this: Reset your account database/cache.

  • Edit Menu → Preferences → Accounts (tab) → Select your iCloud account from the list
  • On the right side at the bottom, under “Local Data” select “Rebuild Cache”

See if that helps.

Yup, that’s exactly what generates the database disk image is malformed error.