Is the school being a wee bit over dramatic, yes.
Did your son do something stupid, yes.
Should he suck it up and do the community service, emphatically yes. I'd still be doing community service if I had a smart phone in high school.
Don't send the text if you thing they'll get vexed