Hi @avinash14
Uipath have the activity called Save Attachments to save all the attachment in a particular mail, for creating folder dynamically we have the activity called Create Folder before you create you have to check the condition called Folder Exists or not.
Hope this will helpful.
Regards
JothyPrasanth M