Hi Learneng,
If your boss uses the phrase 'you are correct in light of YY’s email,' it's worth noting that this is pretty formal. The added comment 'See, you don’t need me : )' is quite informal and friendly though. So the total effect is to appear a little formal and maintain the barrier, but to do it in a friendly way.
If you say 'I do need you, you are my mentor...' this is too serious and formal, even a little too respectful. I would play with the idea of being friendly and start tweaking at the barrier.
To be polite and respectful write;
Your help is always invaluable, and I really appreciate itor take a chance and write something like;
Are you kidding? You've been a great help to meor even something very cheeky like;
But who would make the tea? 