We use SugarCRM 5.0.0f

We deleted the My Email local folder and all it's sub folders.

I then undeleted the My Email folder by updating the deleted field in the folders table. This worked well and we could see all the user's e-mail.

The problem I have now is that the rest of the sub-folders does not show. The only sub folders showing are the My Drafts and Send Emails folders and The missing sub folders still exists in the database in the folders table, but does not show in the mail client I've tried undelete it using the same method, but it does not work.

Any suggestions?