Load a file into Uipath and convert to mailMessage


I have a business process in which we are downloading emails from a web portal and accessing the data and attachments.

I wanted to know if there’s a way to convert a local file into a MailMessage object that Uipath can see and manipulate?

I have already tried copying it into the local inbox and accessing it from there, but I wanted to explore other options