I need to build a process that will save an attachment from an email, rename it, then pass that file name to an external process as a command line argument. I know how to save the attachment and how to rename the file, but how can I get that file name?