Get history of messages