use email -> id mapping only for registered accounts