Check if in right database, add index to email