Unwanted emails can be broadly categorized into two types: spam and phishing scams. Spam refers to unsolicited or irrelevant messages sent over the internet, typically to a large number of users, for the purposes of advertising or promotion. Phishing scams, on the other hand, are deceptive emails that attempt to trick recipients into revealing sensitive information, such as passwords or financial details.