We're planning to create draft Outlook 365 emails from our ASP.NET MVC C# code which is running as an Azure App. That looks relatively straightforward in the Outlook Mail REST API documentation and there's some useful info on that in this reply too.
What I'd then like to do is open that message in Outlook 365 in a new browser tab so the user can edit it before pushing send, but I can't seem to find a way to do that?
So, the process I'm trying to achieve is:
- Create draft message in O365 Outlook using the Rest API
- Save that draft
- Open a new browser tab displaying that saved draft message in Outlook 365
Step 3 is what I can't find a way to do, is it possible?
If I open an email in Outlook 365 the URL is generic and doesn't contain a unique ID for the message object, so I'm not sure if there's any way to get a URL that links directly to an email message?