In magento 1.9, I used
loadByEmail method from resource model.
But in magento2 in
Magento\Customer\Model I see
loadByEmail method. Customer factory, as well as customer entity which I get from quote, returns
Magento\Customer\Model\Data\Customer which does not have this method.
CustomerRepository have only
how to load customer entity by email ?