Magento 2 We can get Customer data by customer email id.
You can get the customer id, first name, last name, and other customer specific data by customer email id.
You need to call Magento\Customer\Api\CustomerRepositoryInterface Interface to fetch customer-related data.
We need to call CustomerRepositoryInterface in our class __construct() method. Continue reading “Get Customer Id by email Magento 2.”