small update to make sure delete messages in account/folder do not mess up cache