Spam is any email you send to someone who hasn’t given you their direct permission to contact them on the topic of the email.
When you send an email to someone you don’t know, that’s an “unsolicited” email. Sending one unsolicited message to someone is obviously not spam. But when you send an unsolicited email to an entire list of people you don’t know, that’s spam.