I always update my answer publicly like this (see this example):
a sample was sent to my personal mail address. I don't know if this is allowed by StackOverflow, but please note that I don't allow this. I answer questions on StackOverflow on a voluntary basis, but I do not answer questions for free that are sent to my personal e-mail address.
Note that I didn't share my e-mail address. The OP just found it online and decided he could mail me directly. He didn't just share a sample, he also asked me further questions. This is the answer sent to this person privately:
I’ve forwarded your question to our sales representative so that he can prepare an offer for you. Once you’ve approved the offer, our technical team can answer your question.
This makes a clear distinction between what is done on a voluntary basis (post a question on SO, and I'll help you out for free if I have the time), and what isn't available for free (ask me a question personally, and you have to pay me if you want me to spend time on your problem).
In my experience, this is the only way to stop people from mailing you.