code: def get_messages(self, page=0):
          
          endpoint = 'https://outlook.office.com/api/v2.0/me/messages'
          if page > 0:
              endpoint = endpoint + '/?%24skip=' + str(page) + '0'
  
          log.debug('Getting messages from endpoint: {} with Headers: {}'.format(endpoint, self._headers))
  
          r = requests.get(endpoint, headers=self._headers)
  
          check_response(r)
  
          return Message._json_to_messages(self, r.json())
docs: Get first 10 messages in account, across all folders.
  
          Keyword Args:
              page (int): Integer representing the 'page' of results to fetch
  
          Returns:
              List[:class:`Message <pyOutlook.core.message.Message>`]