Dude, that really sucks. I'm sorry but there are A-holes in every community, and you found one in ours.
Don't know how much it helps, but he is in the wrong, and hopefully you can learn to ignore him.
My perspective on ebikes (and BSOs) is, I am grateful that in my situation in life (healthy enough, and with a short enough commute, to push a non-e-bike, affluent enough to own a nice bike) I don't ride either one. But if someday I have to, that will be fine. And other people that do, that's great! Better that they're on some kind of bike than in a car.