synchronizes missing messages
messages respects options.maxMessages