<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" xsi:type="MailApp">
  <Id>35f41597-b41d-421d-9cff-c139f3ee4ec3</Id>
  <Version>1.0.0.1</Version>
  <ProviderName>EchoMark</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="EchoMark (sandbox)"/>
  <Description DefaultValue="Enable the seamless flow of private information by using EchoMark to enhance your email."/>
  <IconUrl DefaultValue="https://outlook.sandbox.em-staging.com/assets/icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://outlook.sandbox.em-staging.com/assets/icon-128.png"/>
  <SupportUrl DefaultValue="https://www.echomark.com/about"/>
  <AppDomains>
    <AppDomain>https://www.echomark.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.8"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://outlook.sandbox.em-staging.com/taskpane.html"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
  <!-- On Send requires VersionOverridesV1_1 -->
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.12">
          <bt:Set Name="Mailbox"/>
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <!-- Event-based activation happens in a lightweight runtime.-->
          <!-- <Runtimes>
            HTML file including reference to or inline JavaScript event handlers.
                This is used by Outlook on the web and on the new Mac UI.
            <Runtime resid="WebViewRuntime.Url">
              // JavaScript file containing event handlers. This is used by Outlook on Windows.
              <Override type="javascript" resid="JSRuntime.Url"/>
            </Runtime>
          </Runtimes> -->
          <DesktopFormFactor>
          <FunctionFile resid="Commands.Url"/>
            <ExtensionPoint xsi:type="MessageComposeCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="msgReadGroup">
                  <Label resid="GroupLabel"/>
                  <Control xsi:type="Button" id="msgReadOpenPaneButton">
                    <Label resid="TaskpaneButton.Label"/>
                    <Supertip>
                      <Title resid="TaskpaneButton.Label"/>
                      <Description resid="TaskpaneButton.Tooltip"/>
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Icon.16x16"/>
                      <bt:Image size="32" resid="Icon.32x32"/>
                      <bt:Image size="80" resid="Icon.80x80"/>
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="Taskpane.Url"/>
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <!-- <ExtensionPoint xsi:type="MessageReadCommandSurface"> -->
            <!-- Do read-based things here -->
            <!-- </ExtensionPoint>
            <ExtensionPoint xsi:type="LaunchEvent">
              <LaunchEvents>
                <LaunchEvent Type="OnMessageSend" FunctionName="onMessageSendHandler" SendMode="PromptUser" />
              </LaunchEvents> -->
              <!-- Identifies the runtime to be used (also referenced by the Runtime element). -->
              <!-- <SourceLocation resid="WebViewRuntime.Url"/>
            </ExtensionPoint> -->
          </DesktopFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="Icon.16x16" DefaultValue="https://outlook.sandbox.em-staging.com/assets/icon-16.png"/>
          <bt:Image id="Icon.32x32" DefaultValue="https://outlook.sandbox.em-staging.com/assets/icon-32.png"/>
          <bt:Image id="Icon.80x80" DefaultValue="https://outlook.sandbox.em-staging.com/assets/icon-80.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="Commands.Url" DefaultValue="https://outlook.sandbox.em-staging.com/commands.html"/>
          <bt:Url id="Taskpane.Url" DefaultValue="https://outlook.sandbox.em-staging.com/taskpane.html"/>
          <bt:Url id="Rephrase.Url" DefaultValue="https://outlook.sandbox.em-staging.com/rephrase.html"/>
          <!-- <bt:Url id="WebViewRuntime.Url" DefaultValue="https://outlook.sandbox.em-staging.com/commands.html" /> -->
          <!-- Entry needed for Outlook on Windows. -->
          <!-- <bt:Url id="JSRuntime.Url" DefaultValue="https://outlook.sandbox.em-staging.com/launchevent.js" /> -->
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="GroupLabel" DefaultValue="EchoMark Add-in"/>
          <bt:String id="TaskpaneButton.Label" DefaultValue="Show Taskpane"/>
          <bt:String id="ActionButton.Label" DefaultValue="Perform an action"/>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens a pane displaying all available properties."/>
          <bt:String id="ActionButton.Tooltip" DefaultValue="Perform an action when clicked."/>
        </bt:LongStrings>
      </Resources>
      <WebApplicationInfo>
        <Id>507e3bbd-b44f-4082-ae96-a79aaa0fa682</Id>
        <Resource>api://outlook.sandbox.em-staging.com/507e3bbd-b44f-4082-ae96-a79aaa0fa682</Resource>
        <Scopes>
          <Scope>openid</Scope>
          <Scope>user.read</Scope>
          <Scope>profile</Scope>
        </Scopes>
      </WebApplicationInfo>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
