Most of sent mail deleted upon update

Recently eMclient offered to install a new update. I confirmed, but after that the number of mails in Sent items has been reduced to about 1000. Instead of returning to Thunderbird, i like to ask: how to restore the many other mails en how to prevent this from happening again?