Hi @CarlesMartin
Use "Export email" action to export the email. Pass the 'Message ID' property from the trigger:

Pass the output body of export email action in the add attachment action:

For filename you can use the below expression:
@{triggerOutputs()?['body/subject']}.msg
just copy-paste the above expression in the 'File Name' input parameter.
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.