def mailboxes
      url = "/mailboxes.json"
      mailboxes = []
      begin
        items = Client.request_items(@auth, url, {})
        items.each do |item|
          mailboxes << Mailbox.new(item)
        end
      rescue StandardError => e
        puts "List Mailbox Request failed: #{e.message}"
      end
      mailboxes
    end
def mailboxes
      url = "/mailboxes.json"
      mailboxes = []
      begin
        items = Client.request_items(@auth, url, {})
        items.each do |item|
          mailboxes << Mailbox.new(item)
        end
      rescue StandardError => e
        puts "List Mailbox Request failed: #{e.message}"
      end
      mailboxes
    end
List Mailboxes
 http://developer.helpscout.net/mailboxes/

 Fetches all mailboxes

 Request
  REST Method: GET
  URL: https://api.helpscout.net/v1/mailboxes.json

  Parameters:
   Name  Type  Required  Default  Notes
   page  Int   No        1

 Response
  Name   Type
  items  Array  Collection of Mailbox objects