Hi @Anonymous ,
To get mail attachment you can change your code as follows.
var stream = await graphClient.Users["{userId}"].Messages["{messageId}"].Attachments["{attachmentId}"].Content
.Request()
.GetAsync();
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".