Save email attachment with 'Subject field' text as filename

Is it possible to save emails attachments and rename to the text in the subject field?

I can save attachments to a folder with the filename, but cannot find any solution to save with the ‘Subject field’ text as the filename


hi @wiisvogelsang,

Welcome to the uipath community !

How about Renaming the Files After it is downloaded ?

Please refer to the below Code Snippet - Here Filestream is created and renamed while Saving.


Will that help for multiple emails? and what codes do I need to save the ‘Subject field’ text as the file name…