If you cannot even run a rebuild this indicates that the 'bootstrap' data are gone also... not a good thing. The best thing to do is to create a fresh installation, move your old emails over and run a rebuild.
Follow this proceedure if you are unable to start Zoe or rebuild the datastore.
- Rename the 'SZ' directory under '%ZOE%/Library/' to 'SZ.hold'. This directory is where all your messages are stored.
- Run the app and create a new account. Let it fetch one or two messages to create the proper structures for your messages.
- Shutdown the app
- There should be a new 'SZ' directory. You will need to copy all the messages under 'SZ.hold' to the new 'SZ' directory. Messages are stored in a timeline structure under the 'Mails' directory. Copy all the years directories (i.e. '2002', '2003', etc) under 'SZ.hold/Mails/<long hex name>/' to the new location under 'SZ/Mails/<long hex name>/'. Only copy the year directories, not the directory with the long hexadecimal name.
- Once everything is copied over, run a rebuild. (see System Configuration/Command Line Options for help)
reference: [Zoe-general]