Is Soliciting Freelance Work via Email Considered Spam?

Where does one draw the line between spam (unsolicited emails) and queries? Is it possible that if you sent a publication an email query they might report you for spamming and cause some problems for you? Obviously we don't have publishers opt-in for query letters, or is that implied by the fact that they are in the business they are and publish submission guidelines? …