Working indexedDB email crud