Well, you have your mailing code within the callback that gets called for every item, so the behaviour you describe is exactly what one would expect. You must put this code after the call to find().
holli, /regexed monk/
Comment on Re: Collecting a list of filenames together