code: def get_folders(self):
          
          endpoint = 'https://outlook.office.com/api/v2.0/me/MailFolders/'
  
          r = requests.get(endpoint, headers=self._headers)
  
          if check_response(r):
              return Folder._json_to_folders(self, r.json())
docs: Returns a list of all folders for this account
  
              Returns:
                  List[:class:`Folder <pyOutlook.core.folder.Folder>`]