This is what I do—it can even be a detailed slack message. I start writing the message with the goal of asking for some guidance, but in the process of carefully outlining the problem and what I’ve already attempted (in order to respect the time of my colleague) I usually arrive at the correct solution. I then delete the email without ever needing to send it.