I think many developers complain about recruiters as a way of subtly bragging about how many people want to hire them. Secretly, they'd be kind of disappointed if the emails stopped coming.
Boo Hoo, Just Look At Me, What An Awesome Developer I Am, That So Many Recruiters Spam Me With Their Offers
Darn, spoilt rich kids (devs) and their rich problems!
I think it's unfair that people have their motives for disliking something called into question just because they're in a certain strata that has that problem and not everyone else does.
There's nothing wrong with disliking the emails--a lot of people get recruiter emails and just silently ignore them; a few complain loudly about them, and that's who I'm talking about.