Hello. I'm trying to send email using graph api.
The reason I use graph api, instead of other options, is that it can send mail with attachment that's has more than 10mb file size.
After researching about this, I found out that I have to create an upload session(https://docs.microsoft.com/en-us/graph/outlook-large-attachments?tabs=http). and it's quite tricky to understand.
The goal is send an email with attachments that has more than 10mb file size.
so should I send two requests like this? and
first request :
POST https://graph.microsoft.com/v1.0/user/jaesung.park/messages/AAMkADI5MAAIT3drCAAA=/attachments/createUploadSession
POST https://graph.microsoft.com/v1.0/users/jaesung.park@streami.co/sendMail
How can tell 'sendMail' that it should refer createUploadSession before send email?
Following is my send email code, it will be very helpful, if you can be specific by giving detailed python code examples

If there's a way that's more simple than this(https://docs.microsoft.com/en-us/graph/outlook-large-attachments?tabs=http), please let me know!
Thanks in advanace