A spam folder is a folder in an email account where unwanted emails, such as junk mail and phishing scams, are stored instead of being delivered to the inbox. The spam folder is created by mail servers as well as by the users email program. The spam filter determines which emails are considered spam and sends them to the spam folder. The spam folder is also known as the "junk folder" or "junk mailbox". In some email programs, the messages in the spam folder can be sorted and viewed by the spam filters rating, which is a percentage of confidence that the message is junk. The spam folder can be managed by deleting all messages in one shot or deleting a single message. The spam folder is important because it helps keep the inbox free of irrelevant emails and phishing scams.