Currently, we store a mapping between remote message ids and our message ids in redis, and use this when we get a delivery report to publish a delivery report event with our message id. Once we've published the delivery report event, we no longer need the remote message ids, yet we still keep them around for a week.
Currently, we store a mapping between remote message ids and our message ids in redis, and use this when we get a delivery report to publish a delivery report event with our message id. Once we've published the delivery report event, we no longer need the remote message ids, yet we still keep them around for a week.