Determining if a message is spam is based on a number of factors, including the "reputation" of the sender, the content of the message, other data that is sent along with the email message, quality and type of attachments, and the number of recipients.