in reply to deleting duplicate emails from a mail file
yeah.. stuff the emails into keys of a hash... this will remove the dupes, and be sure to lc the whole thing..