I am writing a addin that requires the email content in MIME format. Now I am using the ewsurl()
, getCallBackTokenAsync()
, and Office.context.mailbox.itemId
api's to find out the EWS url, access token, message id and sending it to my back-end via Ajax. My back-end sends a SOAP request to EWS and downloads the email message. Is this approach correct?
My main concern is will there be any throttling if the EWS endpoint sees too many request coming from the same machine. For example, several users(say couple of hundreds) in an organisation could use the add-in concurrently. In this case , the add-in back-end could send several concurrent requests to EWS. Would EWS implement some throttling if it sees too many requests coming from the same add-in / the same back-end machine
Are there any alternative approaches?