Also, recruiters sends large numbers of similar emails so they look like a spammer to the filters. Then if people who get them just mark them a spam rather than deleting or responding, the problem is compounded.
Depending on your definition of spam, the recruiters might actually be sending spam. I once had a recruiter try to hire me for the company I was already working at and had clearly indicated on my Linkedin...