add empty message content handling to message send