Watch out for quoting in attachment filenames (such as commas).