<?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>05c2e1c9-3e1d-406e-9a91-e9ac64854142</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>TPIR</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
   <DisplayName DefaultValue="Report Email"/>
  <Description DefaultValue="This add-in enables users to report suspicious emails and enhance their protection against email-borne cyber attacks"/>
  <IconUrl DefaultValue="https://tpir.threatcop.com/owa/assets/icon-64.jpg"/>
  <HighResolutionIconUrl DefaultValue="https://tpir.threatcop.com/owa/assets/icon-128.jpg"/>
  <SupportUrl DefaultValue="https://www.contoso.com/help"/>
  <AppDomains>
    <AppDomain>https://www.threatcop.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox" />
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.1" />
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://tpir.threatcop.com/owa/taskpane.html"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit"/>
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.3">
        <bt:Set Name="Mailbox" />
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <FunctionFile resid="Commands.Url" />
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <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" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
 <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://tpir.threatcop.com/owa/assets/icon-16.jpg"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://tpir.threatcop.com/owa/assets/icon-32.jpg"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://tpir.threatcop.com/owa/assets/icon-80.jpg"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Commands.Url" DefaultValue="https://tpir.threatcop.com/owa/commands.html" />
        <bt:Url id="Taskpane.Url" DefaultValue="https://tpir.threatcop.com/owa/taskpane.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GroupLabel" DefaultValue="This add-in enables users to report suspicious emails and enhance their protection against email-borne cyber attacks"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="Report Email"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="This add-in enables users to report suspicious emails and enhance their protection against email-borne cyber attacks"/>
      </bt:LongStrings>
    </Resources>
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
         <Requirements>
            <bt:Sets DefaultMinVersion="1.5">
               <bt:Set Name="Mailbox" />
            </bt:Sets>
         </Requirements>
         <Hosts>
            <Host xsi:type="MailHost">
              <DesktopFormFactor>
                <FunctionFile resid="Commands.Url"/>
                <ExtensionPoint xsi:type="MessageReadCommandSurface">
                  <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>
              </DesktopFormFactor>
               <MobileFormFactor>
                  <FunctionFile resid="Commands.Url" />
                  <ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
                     <Group id="mobileGroupID">
                        <Label resid="GroupLabel" />
                        <Control xsi:type="MobileButton" id="TaskPaneBtn">
                           <Label resid="TaskpaneButton.Label" />
                           <Icon xsi:type="bt:MobileIconList">
                              <bt:Image size="25" scale="1" resid="Icon.16x16" />
                              <bt:Image size="25" scale="2" resid="Icon.16x16" />
                              <bt:Image size="25" scale="3" resid="Icon.16x16" />
                              <bt:Image size="32" scale="1" resid="Icon.16x16" />
                              <bt:Image size="32" scale="2" resid="Icon.16x16" />
                              <bt:Image size="32" scale="3" resid="Icon.16x16" />
                              <bt:Image size="48" scale="1" resid="Icon.16x16" />
                              <bt:Image size="48" scale="2" resid="Icon.16x16" />
                              <bt:Image size="48" scale="3" resid="Icon.16x16" />
                           </Icon>
                           <Action xsi:type="ShowTaskpane">
                              <SourceLocation resid="Taskpane.Url" />
                           </Action>
                        </Control>
                     </Group>
                  </ExtensionPoint>
               </MobileFormFactor>
            </Host>
         </Hosts>
          <Resources>
            <bt:Images>
              <bt:Image id="Icon.16x16" DefaultValue="https://tpir.threatcop.com/owa/assets/icon-16.jpg"/>
              <bt:Image id="Icon.32x32" DefaultValue="https://tpir.threatcop.com/owa/assets/icon-32.jpg"/>
              <bt:Image id="Icon.80x80" DefaultValue="https://tpir.threatcop.com/owa/assets/icon-80.jpg"/>
            </bt:Images>
            <bt:Urls>
              <bt:Url id="Commands.Url" DefaultValue="https://tpir.threatcop.com/owa/commands.html"/>
              <bt:Url id="Taskpane.Url" DefaultValue="https://tpir.threatcop.com/owa/taskpane.html"/>
            </bt:Urls>
            <bt:ShortStrings>
              <bt:String id="GroupLabel" DefaultValue="Kratikal Add-in"/>
              <bt:String id="TaskpaneButton.Label" DefaultValue="Report Mail"/>
              <bt:String id="ActionButton.Label" DefaultValue="Report Mail"/>
            </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>
      </VersionOverrides>
  </VersionOverrides>
</OfficeApp>