Logic for using current email if exists for userid