Forum Discussion
Saurabh Vartak
Feb 04, 2018Copper Contributor
O365 API to read new emails from a mailbox
Hi,
I have a requirement where I want to read the details of a new email from an Azure WebJob. Wanted to know the API available for the same.
Kindly advise.
Regards,
Saurabh
2 Replies
Check out the Outlook REST API: https://msdn.microsoft.com/en-us/office/office365/api/mail-rest-operations
Or if you are already using the Microsoft Graph API: https://github.com/microsoftgraph/microsoft-graph-docs/blob/master/api-reference/v1.0/resources/mail_api_overview.md
Lastly, there's the good old EWS: https://msdn.microsoft.com/en-us/library/office/dd633710(v=exchg.80).aspx
- Microsoft Graph API is the way to go for this requirement