Absolutely, ones mental wellbeing is the most important thing. But for this example, I would make a mental note that this could be an area to improve, not write a response like this–which isn't good for your mental health either.
It's important to separate your work from yourself. The user was frustrated by the software, not by you.