Similarly to OS X's Spotlight search feature, Mail uses an index to show the available e-mail messages that have been downloaded to the program, listing information such as subject, sender, and whether messages have been read and linking this information with the respective message file.