How to read .eml type files content

Hi
may be first we can convert the eml file to .mailmessage with this custom component

once mailmessage object is created we can read the other objects from that like subject, body, attachment

Cheers @ext-o