Dear All,
I would like to be able to retrieve URLs to specific outlook 365 emails, and then use them in my notes for quick access to original emails for reference.
I know that it is possible, e.g. through:
https://outlook.office365.com/api/beta/Me/Messages?$select=WebLink
When accessed the above link, it provides a list of information, amongst which are URLs to emails in my inbox, e.g.:
"WebLink":"https://outlook.office365.com/owa/?ItemID=<...>?%3D&exvsurl=1&viewmodel=ReadMessageItem"}
<...> represents ItemID that I removed from the link. If I paste the full link into my browser, it opens the email message. Bravo - that's what I need!
It ItemID is the variable element in the email-unique URL. But the problem is that retrieving the link through the
*https://outlook.office365.com/api/beta/Me/Messages?$select=WebLink*is completely messy and impossible to do with reasonable efficiency.
So my question: is there a better way to retrieve ItemID or the full weblink for an email message in outlook 365? Please, there must be...
Any and all help would be appreciated.
Best Regards,
Ignas