<?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>bbbc666c-9266-4641-9a41-c3c044b63c80</Id>
  <Version>4.0.0.0</Version>
  <ProviderName>KnowBe4, Inc</ProviderName>
  <DefaultLocale>en</DefaultLocale>
  <DisplayName DefaultValue="Phish Alert">
      <Override Locale="en" Value="Phish Alert"/>
      <Override Locale="en-US" Value="Phish Alert"/>
  </DisplayName>
  <Description DefaultValue="Phish Alert - Report Phishing Emails">
      <Override Locale="en" Value="Phish Alert - Report Phishing Emails"/>
      <Override Locale="en-US" Value="Phish Alert - Report Phishing Emails"/>
  </Description>
  <IconUrl DefaultValue="https://training.knowbe4.com/pab_uploads_prefix/pab_icon/B5C7B5875ABE77231757621C558018EE/icon_64x64.png" />
  <HighResolutionIconUrl DefaultValue="https://training.knowbe4.com/pab_uploads_prefix/pab_icon/B5C7B5875ABE77231757621C558018EE/icon_128x128.png"/>
  <SupportUrl DefaultValue="https://support.knowbe4.com/" />
  <AppDomains>
    <AppDomain>https://us.pab.knowbe4.com</AppDomain>
    <AppDomain>https://support.knowbe4.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://us.pab.knowbe4.com/phishalertonline/B5C7B5875ABE77231757621C558018EE/AppRead/Home/Home.html"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>

  <Permissions>ReadWriteMailbox</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.4">
        <bt:Set Name="Mailbox" />
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <FunctionFile resid="functionFile" />
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="msgReadGroup">
                <Label resid="groupLabel" />
                <Control xsi:type="Button" id="msgReadOpenPaneButton">
                  <Label resid="paneReadButtonLabel" />
                  <Supertip>
                    <Title resid="paneReadSuperTipTitle" />
                    <Description resid="paneReadSuperTipDescription" />
                  </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="messageReadTaskPaneUrl" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="icon16" DefaultValue="https://training.knowbe4.com/pab_uploads_prefix/pab_icon/B5C7B5875ABE77231757621C558018EE/icon_64x64.png"/>
        <bt:Image id="icon32" DefaultValue="https://training.knowbe4.com/pab_uploads_prefix/pab_icon/B5C7B5875ABE77231757621C558018EE/icon_64x64.png"/>
        <bt:Image id="icon80" DefaultValue="https://training.knowbe4.com/pab_uploads_prefix/pab_icon/B5C7B5875ABE77231757621C558018EE/icon_64x64.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="insertGistPaneUrl" DefaultValue="https://us.pab.knowbe4.com?params=eyJsaWNlbnNlIjoiQjVDN0I1ODc1QUJFNzcyMzE3NTc2MjFDNTU4MDE4RUUiLCJhcGkiOiJrbm93YmU0IiwibW9kZSI6IlNQQU0iLCJzZXJ2ZXIiOiJodHRwczovL3RyYWluaW5nLmtub3diZTQuY29tIn0="/>
        <bt:Url id="functionFile" DefaultValue="https://us.pab.knowbe4.com?params=eyJsaWNlbnNlIjoiQjVDN0I1ODc1QUJFNzcyMzE3NTc2MjFDNTU4MDE4RUUiLCJhcGkiOiJrbm93YmU0IiwibW9kZSI6IlNQQU0iLCJzZXJ2ZXIiOiJodHRwczovL3RyYWluaW5nLmtub3diZTQuY29tIn0="/>
        <bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://us.pab.knowbe4.com?params=eyJsaWNlbnNlIjoiQjVDN0I1ODc1QUJFNzcyMzE3NTc2MjFDNTU4MDE4RUUiLCJhcGkiOiJrbm93YmU0IiwibW9kZSI6IlNQQU0iLCJzZXJ2ZXIiOiJodHRwczovL3RyYWluaW5nLmtub3diZTQuY29tIn0="/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="groupLabel" DefaultValue="Phish Alert">
            <bt:Override Locale="en" Value="Phish Alert"/>
            <bt:Override Locale="en-US" Value="Phish Alert"/>
        </bt:String>
        <bt:String id="customTabLabel" DefaultValue="Phish Alert">
            <bt:Override Locale="en" Value="Phish Alert"/>
            <bt:Override Locale="en-US" Value="Phish Alert"/>
        </bt:String>
        <bt:String id="paneReadButtonLabel" DefaultValue="Phish Alert Report">
            <bt:Override Locale="en" Value="Phish Alert Report"/>
            <bt:Override Locale="en-US" Value="Phish Alert Report"/>
        </bt:String>
        <bt:String id="paneReadSuperTipTitle" DefaultValue="Phish Alert Report">
            <bt:Override Locale="en" Value="Phish Alert Report"/>
            <bt:Override Locale="en-US" Value="Phish Alert Report"/>
        </bt:String>
        <bt:String id="phishAlert" DefaultValue="Phish Alert">
            <bt:Override Locale="en" Value="Phish Alert"/>
            <bt:Override Locale="en-US" Value="Phish Alert"/>
        </bt:String>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="paneReadSuperTipDescription" DefaultValue="Report Phishing Emails">
            <bt:Override Locale="en" Value="Report Phishing Emails"/>
            <bt:Override Locale="en-US" Value="Report Phishing Emails"/>
        </bt:String>
      </bt:LongStrings>
    </Resources>
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.13">
          <bt:Set Name="Mailbox"/>
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <Runtimes>
            <Runtime resid="WebViewRuntime.Url">
              <!-- References the JavaScript file that contains the spam-reporting event handler. This is used by Outlook on Windows. -->
              <Override type="javascript" resid="JSRuntime.Url"/>
            </Runtime>
          </Runtimes>
          <DesktopFormFactor>
            <SupportsSharedFolders>true</SupportsSharedFolders>
            <FunctionFile resid="WebViewRuntime.Url"/>
            <!-- Implements the integrated spam reporting feature in the add-in. -->
            <ExtensionPoint xsi:type="ReportPhishingCommandSurface">
              <ReportPhishingCustomization>
                <!-- Configures the ribbon button. -->
                <Control xsi:type="Button" id="spamReportingButton">
                  <Label resid="spamButton.Label"/>
                  <Supertip>
                    <Title resid="spamButton.Label"/>
                    <Description resid="spamSuperTip.Text"/>
                  </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="ExecuteFunction">
                    <FunctionName>onSpamReport</FunctionName>
                  </Action>
                </Control>
                <!-- Configures the preprocessing dialog. -->
                <PreProcessingDialog>
                  <Title resid="PreProcessingDialog.Label"/>
                  <Description resid="PreProcessingDialog.Text"/>
                </PreProcessingDialog>
              <!-- Identifies the runtime to be used. This is also referenced by the Runtime element. -->
                <SourceLocation resid="WebViewRuntime.Url"/>
              </ReportPhishingCustomization> 
            </ExtensionPoint>
          </DesktopFormFactor>
          <MobileFormFactor>
            <FunctionFile resid="functionFile" />
            <ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
              <Group id="mobileMsgRead">
                <Label resid="groupLabel" />
                <Control xsi:type="MobileButton" id="TaskPaneBtn">
                  <Label resid="phishAlert" />
                  <Icon xsi:type="bt:MobileIconList">
                    <bt:Image size="25" scale="1" resid="icon16" />
                    <bt:Image size="25" scale="2" resid="icon16" />
                    <bt:Image size="25" scale="3" resid="icon16" />

                    <bt:Image size="32" scale="1" resid="icon16" />
                    <bt:Image size="32" scale="2" resid="icon16" />
                    <bt:Image size="32" scale="3" resid="icon16" />

                    <bt:Image size="48" scale="1" resid="icon16" />
                    <bt:Image size="48" scale="2" resid="icon16" />
                    <bt:Image size="48" scale="3" resid="icon16" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="messageReadTaskPaneUrl" />
                  </Action>
                </Control>
              </Group>
            </ExtensionPoint>
          </MobileFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="icon16" DefaultValue="https://training.knowbe4.com/pab_uploads_prefix/pab_icon/B5C7B5875ABE77231757621C558018EE/icon_64x64.png"/>
          <bt:Image id="icon32" DefaultValue="https://training.knowbe4.com/pab_uploads_prefix/pab_icon/B5C7B5875ABE77231757621C558018EE/icon_64x64.png"/>
          <bt:Image id="icon80" DefaultValue="https://training.knowbe4.com/pab_uploads_prefix/pab_icon/B5C7B5875ABE77231757621C558018EE/icon_64x64.png"/>
          <bt:Image id="Icon.16x16" DefaultValue="https://training.knowbe4.com/pab_uploads_prefix/pab_icon/B5C7B5875ABE77231757621C558018EE/icon_64x64.png"/>
          <bt:Image id="Icon.32x32" DefaultValue="https://training.knowbe4.com/pab_uploads_prefix/pab_icon/B5C7B5875ABE77231757621C558018EE/icon_64x64.png"/>
          <bt:Image id="Icon.80x80" DefaultValue="https://training.knowbe4.com/pab_uploads_prefix/pab_icon/B5C7B5875ABE77231757621C558018EE/icon_64x64.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="WebViewRuntime.Url" DefaultValue="https://us.pab.knowbe4.com/static/spamreporting/spamreporting.html?params=eyJsaWNlbnNlIjoiQjVDN0I1ODc1QUJFNzcyMzE3NTc2MjFDNTU4MDE4RUUiLCJhcGkiOiJrbm93YmU0IiwibW9kZSI6IlNQQU0iLCJzZXJ2ZXIiOiJodHRwczovL3RyYWluaW5nLmtub3diZTQuY29tIn0="/>
          <bt:Url id="JSRuntime.Url" DefaultValue="https://us.pab.knowbe4.com/static/spamreporting/spamreporting.js?params=eyJsaWNlbnNlIjoiQjVDN0I1ODc1QUJFNzcyMzE3NTc2MjFDNTU4MDE4RUUiLCJhcGkiOiJrbm93YmU0IiwibW9kZSI6IlNQQU0iLCJzZXJ2ZXIiOiJodHRwczovL3RyYWluaW5nLmtub3diZTQuY29tIn0="/>
          <bt:Url id="functionFile" DefaultValue="https://us.pab.knowbe4.com?params=eyJsaWNlbnNlIjoiQjVDN0I1ODc1QUJFNzcyMzE3NTc2MjFDNTU4MDE4RUUiLCJhcGkiOiJrbm93YmU0IiwibW9kZSI6IlNQQU0iLCJzZXJ2ZXIiOiJodHRwczovL3RyYWluaW5nLmtub3diZTQuY29tIn0="/>
          <bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://us.pab.knowbe4.com?params=eyJsaWNlbnNlIjoiQjVDN0I1ODc1QUJFNzcyMzE3NTc2MjFDNTU4MDE4RUUiLCJhcGkiOiJrbm93YmU0IiwibW9kZSI6IlNQQU0iLCJzZXJ2ZXIiOiJodHRwczovL3RyYWluaW5nLmtub3diZTQuY29tIn0="/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="groupLabel" DefaultValue="Phish Alert">
              <bt:Override Locale="en" Value="Phish Alert"/>
              <bt:Override Locale="en-US" Value="Phish Alert"/>
          </bt:String>
          <bt:String id="customTabLabel" DefaultValue="Phish Alert">
              <bt:Override Locale="en" Value="Phish Alert"/>
              <bt:Override Locale="en-US" Value="Phish Alert"/>
          </bt:String>
          <bt:String id="paneReadButtonLabel" DefaultValue="Phish Alert Report">
              <bt:Override Locale="en" Value="Phish Alert Report"/>
              <bt:Override Locale="en-US" Value="Phish Alert Report"/>
          </bt:String>
          <bt:String id="paneReadSuperTipTitle" DefaultValue="Phish Alert Report">
              <bt:Override Locale="en" Value="Phish Alert Report"/>
              <bt:Override Locale="en-US" Value="Phish Alert Report"/>
          </bt:String>
          <bt:String id="phishAlert" DefaultValue="Phish Alert">
              <bt:Override Locale="en" Value="Phish Alert"/>
              <bt:Override Locale="en-US" Value="Phish Alert"/>
          </bt:String>
          <bt:String id="spamButton.Label" DefaultValue="Phish Alert">
              <bt:Override Locale="en-us" Value="Phish Alert"/>
          </bt:String>
          <bt:String id="PreProcessingDialog.Label" DefaultValue="Phish Alert">
              <bt:Override Locale="en" Value="Phish Alert"/>
              <bt:Override Locale="en-US" Value="Phish Alert"/>
          </bt:String>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="spamSuperTip.Text" DefaultValue="Report a phishing email.">
              <bt:Override Locale="en" Value="Report a phishing email."/>
              <bt:Override Locale="en-US" Value="Report a phishing email."/>
          </bt:String>
          <bt:String id="PreProcessingDialog.Text" DefaultValue="Are you sure you want to report this as a phishing email?">
              <bt:Override Locale="en-us" Value="Are you sure you want to report this as a phishing email?"/>
          </bt:String>
        </bt:LongStrings>
      </Resources>
      <WebApplicationInfo>
        <Id>e9b60207-a53f-4a48-abf2-087dfd0aecb0</Id>
        <Resource>api://us.pab.knowbe4.com/e9b60207-a53f-4a48-abf2-087dfd0aecb0</Resource>
        <Scopes>
          <Scope>Mail.Read</Scope>
          <Scope>Mail.Read.Shared</Scope>
          <Scope>Mail.ReadWrite</Scope>
          <Scope>Mail.ReadWrite.Shared</Scope>
          <Scope>Mail.Send</Scope>
          <Scope>Mail.Send.Shared</Scope>
          <Scope>profile</Scope>
          <Scope>openid</Scope>
        </Scopes>
      </WebApplicationInfo>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
