Model/ResourceModel/Order/Collection.php
public function checkInSales($emails)
    {
        $collection = $this->orderCollection->create()
            ->addFieldToFilter('customer_email', ['in' => $emails]);
        return $collection->getColumnValues('customer_email');
    }
public function checkInSales($emails)
    {
        $collection = $this->orderCollection->create()
            ->addFieldToFilter('customer_email', ['in' => $emails]);
        return $collection->getColumnValues('customer_email');
    }
public function checkInSales ( $ emails ) { $ collection = $ this -> orderCollection -> create ( ) -> addFieldToFilter ( 'customer_email' , [ 'in' => $ emails ] ) ; return $ collection -> getColumnValues ( 'customer_email' ) ; }
Check emails exist in sales order table.

@param array $emails

@return array
Check emails exist in sales order table .