My boss keeps sending me messages saying things like, "How much time are you spending on [company program]? Please don't let it take too much time.", or "Try not to sign up for too many [external programs], they are taking dev time". In this case, programs include things like volunteering, job shadowing, hackathons, brown bags, etc. All are sponsored by my employer. I've told my boss that my other duties on average take up 1-2 hours per week, which is a fraction of what is worked, and is far outweighed by the overtime that I put in. I've told my boss this multiple times. He still sends me these messages. I put in just as much work as my teammates, and the statistics actually show that I'm in the top 20% contributors in my local business unit.
The trouble is that if I keep telling him that I'm doing no such thing, then I'm accused of slacking in a backhanded manner. This has happened a few times and I have to admit, while I know that I shouldn't feel guilty, it feels like a shake-down. I have no doubt that if I do not take action, they will keep happening.
How do I tell my boss to get off my case, and to stop implying that I'm slacking?