Hi @HeHo12345 !
Try this flow.

Flow function:
1) It will get emails from a specific sender which needs to be specified in the From section of the trigger action, "When a new email arrives (V3)". Expand the advanced options to do that. Even put the yellow highlighted ones as 'Yes' since you need only attachments.
Additionally for this trigger, I have added a trigger expression so as to only receive emails which do not have the subject as empty. Check below:



Expression:
@not(empty(triggerOutputs()?['body/Subject']))
2) Then Create a new folder based on the subject name (from the trigger). Make sure that you already have a SharePoint document library in your SharePoint for this to happen. Also in the expression we make sure that it follows the rule of naming of folder convention. Like this:


Expression:
replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(triggerOutputs()?['body/subject'], '"', ''), '*', ''), ':', ''), '<', ''), '>', ''), '?', ''), '/', ''), '\', ''), '|', ''), '&', 'and')
3) Get the attachments from the mail since you can't just attach it directly to the folder. It will collect the data and use that data in the next action, Create file. This will loop through each attachment. See below:



Input:

Output:


I hope this helps.