I have a macro that executes when the user sends an email. In this macro, I want to get the subject of the email itself and the titles of all of its attachments (be they documents or other embedded emails that were attached).

To get the email subject, I use Groupwise.ComposingItem.subject

To get the attachment filename, I use Groupwise.ItemAttachmentGetDisplayName("X00", <attachment_index>)

However, this call only seems to work for document attachments. For other emails embedded in the current email as attachments, this call returns "Mail Attachment" instead of the name of the attached email. How can I get and modify the name (i.e. subject) of the attached email?

Thank you,