At work, I yelled at my supervisor for 5 minutes after he disrespected me. After work, I sent him a wall of text, explaining the error of his ways in detail. I made it clear that his behavior was unacceptable and that if it ever happened again, I'm leaving the company. He apologized.
Did I make the right move here biz?