At the core, both spam and junk mail represent messages that clutter the user's inbox. While junk mail often comes from opt-in services, such as from businesses, spam refers to messages that the user did not opt to receive.