code: public MessageListResult list(String server) throws IOException, MailosaurException {
      	HashMap<String, String> query = new HashMap<String, String>();
      	query.put("server", server);
      	return client.request("GET", "api/messages", query).parseAs(MessageListResult.class);
      }
docs: List all messages.
  Returns a list of your messages. The messages are returned sorted by received date, with the most recently-received messages appearing first.
  
  @param server The identifier of the server hosting the messages.
  @throws MailosaurException thrown if the request is rejected by server
  @throws IOException
  @return the MessageListResult object if successful.