Hi @Thomas12
Has your issue been solved?
I created a simple flow. You can refer to the following:

Use the following formula to get the sender’s name.
Expression:first(split(triggerOutputs()?['body/from'],'@'))

When LilyWang send an email to me with attchments as below:

The attachments will be created to the Folder named LilyWang

Hope the content above may help you.
Best Regards