Outlook WebAddin Office.js taskpanel inside contact
Solution 1:
Currently web add-ins work under mail and appointment items only. See Outlook add-in manifests for more information.
If you need to get a greater extensibility model in Outlook you may consider creating a VSTO based add-in with a custom ribbon UI, see Walkthrough: Create your first VSTO Add-in for Outlook.