I am developing an app for Office 2013 (Outlook Add In) which will be used in Outlook Web App (OWA - Office 365) and I want to initialize the App as soon as a new email arrives in the mailbox.
Right now, We have to manually initialize the app. I tried Office.context.document,office.context.roamingSettings,office.context.mailbox and many more objects of Office.js but didn't succeeded at all.
Any help would be highly appreciable.