Retrieves messages as a DataTable