Save Activity saving without extension

Hi all, I am trying to save a forwarded email as an attachment along with some other files such as Pdf, word. When I save the attachments to the folder while all the files get saved correctly, the forwarded email (outlook item) gets saved without an extension and hence I am not able to use it. Is there a way I can solve this/ get the attachment as .msg or eml?

Hi @Anived_Mishra, use ‘Copy File’ (UiPath.Core.Activities.CopyFile) activity. In the ‘From’ section provide the email full file path (which you can get from Directory.GetFiles) and in the ‘To’ section provide filepath+filename+extension.