Hello @Alex S
Thanks for reaching out!
Based on my understanding, you can use GET https://graph.microsoft.com/v1.0/users/{UserId}/messages?$expand=attachments
endpoint to list the attachment details of all the emails, whether an attachment is in message body or in as an attachment.
To get attachments of specific message, you can use GET https://graph.microsoft.com/v1.0/users/{UserId}/messages/{MessageID}?$expand=attachments
endpoint.
The API response will have all the details of attachments for a specific message.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.