Emit event with envelope.type for published message
test: Correct unknown event name