title: How to create a Microsoft Outlook Web Add-in (Javascript) Without User Input?
body: <p>I want to create an add in for Microsoft outlook that will execute its code on every new email that is received. I have followed a few tutorials and all show how to create a button to initiate an action then execute a javascript file. I'm wondering if I can create an add in that will execute on each new email received without needing the user to click a button.</p>
  
  <p>P.S. I have seen you can create add ins using VSTO so is this my only option for running code in the background without user input? </p>