which attachments choose user

Hi.

User can mark attachments In web client and do something with them (for example download choosed files).

How can i to know which files he marked?

I want that user can mark attachments and add them to the notification letters.