With email you knew the address of the "relay" where to send your messages, in Nostr you can have that as long as you have the outbox model or something like that, but if all you have is a static list of relays everybody reads from then you can solve the spam problem with trust and reputation, but you'll be worse in terms of decentralization of the transport medium.