<?xml version="1.0" encoding="UTF-8"?>
<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>1a4d2788-33e3-4b34-a81a-d2ca48535393</Id>
  <Version>1.0.0</Version>
  <ProviderName>LureSight</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="LureSight"/>
  <Description DefaultValue="Highlights suspicious phrases and links inside a message and explains why they look like phishing."/>
  <IconUrl DefaultValue="https://luresight.com/assets/icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://luresight.com/assets/icon-128.png"/>
  <SupportUrl DefaultValue="https://luresight.com/help.html"/>

  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>

  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.6"/>
    </Sets>
  </Requirements>

  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://luresight.com/src/taskpane/taskpane.html"/>
        <RequestedHeight>450</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>

  <Permissions>ReadItem</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">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.6">
        <bt:Set Name="Mailbox"/>
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="plGroup">
                <Label resid="GroupLabel"/>
                <Control xsi:type="Button" id="plOpenPane">
                  <Label resid="OpenPaneLabel"/>
                  <Supertip>
                    <Title resid="OpenPaneLabel"/>
                    <Description resid="OpenPaneTip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon16"/>
                    <bt:Image size="32" resid="Icon32"/>
                    <bt:Image size="80" resid="Icon80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="TaskpaneUrl"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon16" DefaultValue="https://luresight.com/assets/icon-16.png"/>
        <bt:Image id="Icon32" DefaultValue="https://luresight.com/assets/icon-32.png"/>
        <bt:Image id="Icon80" DefaultValue="https://luresight.com/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="TaskpaneUrl" DefaultValue="https://luresight.com/src/taskpane/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GroupLabel" DefaultValue="LureSight"/>
        <bt:String id="OpenPaneLabel" DefaultValue="Scan for phishing"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="OpenPaneTip" DefaultValue="Analyzes this message and highlights phrases and links that look like phishing."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
