If for some reason gmailcc exists prematurely, the database-file is not written, and all mails downloaded are for nothing. There should be a mechanism to resume gmailcc with recovery of work done.