Controller/Email/Getbasket.php
public function execute()
    {
        $quoteId = $this->getRequest()->getParam('quote_id');
        //no quote id redirect to base url
        if (!$quoteId) {
            return $this->_redirect('');
        }

        /** @var \Magento\Quote\Model\Quote $quoteModel */
        $quoteModel = $this->quoteFactory->create();

        $this->quoteResource->load($quoteModel, $quoteId);

        //no quote id redirect to base url
        if (! $quoteModel->getId()) {
            return $this->_redirect('');
        }

        //set quoteModel to _quote property for later use
        $this->quote = $quoteModel;

        if ($quoteModel->getCustomerId()) {
            return $this->handleCustomerBasket();
        } else {
            return $this->handleGuestBasket();
        }
    }
public function execute()
    {
        $quoteId = $this->getRequest()->getParam('quote_id');
        //no quote id redirect to base url
        if (!$quoteId) {
            return $this->_redirect('');
        }

        /** @var \Magento\Quote\Model\Quote $quoteModel */
        $quoteModel = $this->quoteFactory->create();

        $this->quoteResource->load($quoteModel, $quoteId);

        //no quote id redirect to base url
        if (! $quoteModel->getId()) {
            return $this->_redirect('');
        }

        //set quoteModel to _quote property for later use
        $this->quote = $quoteModel;

        if ($quoteModel->getCustomerId()) {
            return $this->handleCustomerBasket();
        } else {
            return $this->handleGuestBasket();
        }
    }
public function execute ( ) { $ quoteId = $ this -> getRequest ( ) -> getParam ( 'quote_id' ) ; //no quote id redirect to base url if ( ! $ quoteId ) { return $ this -> _redirect ( '' ) ; } /** @var \Magento\Quote\Model\Quote $quoteModel */ $ quoteModel = $ this -> quoteFactory -> create ( ) ; $ this -> quoteResource -> load ( $ quoteModel , $ quoteId ) ; //no quote id redirect to base url if ( ! $ quoteModel -> getId ( ) ) { return $ this -> _redirect ( '' ) ; } //set quoteModel to _quote property for later use $ this -> quote = $ quoteModel ; if ( $ quoteModel -> getCustomerId ( ) ) { return $ this -> handleCustomerBasket ( ) ; } else { return $ this -> handleGuestBasket ( ) ; } }
Wishlist page to display the user items with specific email.

@return null
Wishlist page to display the user items with specific email .