Simple mail script question

Hi,
I’m currently trying to make a simple automator workflow that runs a group of photos through a photoshop action and then attaches them to an email which is automatically sent off to a list of contacts. All of this I have managed so fa, however, the problem I have encountered is that I would like the name of the files (or even the folder they’re in) to be copied to the subject line of the email before it is sent, so literally all I would need to do is drop the folder or files onto the automator and the proofs would be sent to the list of contacts.

Any help at all would be greatly appreciated

Lewis