Downloads a range of messages' headers as an ArrayList.