Updated envelope to store correlationId as an attribute.