Model/ResourceModel/Contact/Collection.php
public function getSubscriberDataByEmails($emails)
    {
        $subscriberFactory = $this->subscriberFactory->create();
        $subscribersData = $subscriberFactory->getCollection()
            ->addFieldToFilter(
                'subscriber_email',
                ['in' => $emails]
            )
            ->addFieldToSelect(['subscriber_email', 'store_id']);

        return $subscribersData->toArray();
    }
public function getSubscriberDataByEmails($emails)
    {
        $subscriberFactory = $this->subscriberFactory->create();
        $subscribersData = $subscriberFactory->getCollection()
            ->addFieldToFilter(
                'subscriber_email',
                ['in' => $emails]
            )
            ->addFieldToSelect(['subscriber_email', 'store_id']);

        return $subscribersData->toArray();
    }
public function getSubscriberDataByEmails ( $ emails ) { $ subscriberFactory = $ this -> subscriberFactory -> create ( ) ; $ subscribersData = $ subscriberFactory -> getCollection ( ) -> addFieldToFilter ( 'subscriber_email' , [ 'in' => $ emails ] ) -> addFieldToSelect ( [ 'subscriber_email' , 'store_id' ] ) ; return $ subscribersData -> toArray ( ) ; }
Get subscribers data by emails

@param array $emails
@return array
Get subscribers data by emails