Hi @igul,
If your email contains just one attachment you could use the following code to get its name:
attachmentName = CType(item.Attachments.FirstOrDefault, Attachment).Name
Kindly check it at the example below:
Main.xaml (1.2 KB)
Also, please confirm if it’s what you were expecting, otherwise I’ll try to help either way.