1. A method comprising: converting an embedded image of an electronic mail (email) message to a binarized representation by performing thresholding on a grayscale representation of the embedded image; determining and measuring a quantity of text included in the embedded image by analyzing one or more blocks of the binarized representation; and classifying the email message as spam or clean based at least in part on the quantity of text measured.