Destructure message metadata to envelope