use the max message id across all channels when creating unsent messages