gmail importer fix
fix the db inserting and complete the handling with db and getting