<?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"
  xsi:type="MailApp">
  <Id>8f3c2a10-5b61-4d2e-9c0a-7e1d2f4a9b33</Id>
  <Version>0.4.0.0</Version>
  <ProviderName>Signet7</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Signet7"/>
  <Description DefaultValue="Passive incoming check. Keep writing in Outlook."/>
  <IconUrl DefaultValue="https://signet7.io/outlook/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://signet7.io/outlook/icon-48.png"/>
  <SupportUrl DefaultValue="https://signet7.io/support"/>
  <AppDomains>
    <AppDomain>https://signet7.io</AppDomain>
    <AppDomain>https://verify.signet7.io</AppDomain>
    <AppDomain>https://account.signet7.io</AppDomain>
    <AppDomain>https://seal.signet7.io</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://signet7.io/outlook/taskpane.html"/>
        <RequestedHeight>280</RequestedHeight>
      </DesktopSettings>
    </Form>
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://signet7.io/outlook/compose.html"/>
        <RequestedHeight>320</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="ReadOrEdit"/>
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>
  <VersionOverrides
    xmlns="http://schemas.microsoft.com/office/mailappversionoverrides"
    xsi:type="VersionOverridesV1_0">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.8">
        <bt:Set Name="Mailbox"/>
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="Signet7ReadGroup">
                <Label resid="GroupLabel"/>
                <Control xsi:type="Button" id="VerifyButton">
                  <Label resid="VerifyButtonLabel"/>
                  <Supertip>
                    <Title resid="VerifyButtonLabel"/>
                    <Description resid="VerifyButtonTooltip"/>
                  </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>
          <ExtensionPoint xsi:type="MessageComposeCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="Signet7ComposeGroup">
                <Label resid="GroupLabel"/>
                <Control xsi:type="Button" id="SealButton">
                  <Label resid="SealButtonLabel"/>
                  <Supertip>
                    <Title resid="SealButtonLabel"/>
                    <Description resid="SealButtonTooltip"/>
                  </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="ComposeUrl"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon16" DefaultValue="https://signet7.io/outlook/icon-32.png"/>
        <bt:Image id="Icon32" DefaultValue="https://signet7.io/outlook/icon-32.png"/>
        <bt:Image id="Icon80" DefaultValue="https://signet7.io/outlook/icon-48.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="TaskpaneUrl" DefaultValue="https://signet7.io/outlook/taskpane.html"/>
        <bt:Url id="ComposeUrl" DefaultValue="https://signet7.io/outlook/compose.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GroupLabel" DefaultValue="Signet7"/>
        <bt:String id="VerifyButtonLabel" DefaultValue="Signet7"/>
        <bt:String id="SealButtonLabel" DefaultValue="Seal"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="VerifyButtonTooltip" DefaultValue="Passive check. Pops only when a seal is broken."/>
        <bt:String id="SealButtonTooltip" DefaultValue="Seal this draft. No .eml file. Needs a sender token."/>
      </bt:LongStrings>
    </Resources>
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.10">
          <bt:Set Name="Mailbox"/>
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <DesktopFormFactor>
            <FunctionFile resid="CommandsHtml"/>
            <ExtensionPoint xsi:type="MessageReadCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="Signet7ReadGroupV11">
                  <Label resid="GroupLabel"/>
                  <Control xsi:type="Button" id="VerifyButtonV11">
                    <Label resid="VerifyButtonLabel"/>
                    <Supertip>
                      <Title resid="VerifyButtonLabel"/>
                      <Description resid="VerifyButtonTooltip"/>
                    </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"/>
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="LaunchEvent">
              <LaunchEvents>
                <LaunchEvent Type="OnMessageSend" FunctionName="onMessageSendHandler" SendMode="PromptUser"/>
                <LaunchEvent Type="OnMessageReadWithCustomHeader" FunctionName="onMessageReadHandler" HeaderName="X-Signet7-Seal"/>
              </LaunchEvents>
              <SourceLocation resid="CommandsHtml"/>
            </ExtensionPoint>
          </DesktopFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="Icon16" DefaultValue="https://signet7.io/outlook/icon-32.png"/>
          <bt:Image id="Icon32" DefaultValue="https://signet7.io/outlook/icon-32.png"/>
          <bt:Image id="Icon80" DefaultValue="https://signet7.io/outlook/icon-48.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="TaskpaneUrl" DefaultValue="https://signet7.io/outlook/taskpane.html"/>
          <bt:Url id="ComposeUrl" DefaultValue="https://signet7.io/outlook/compose.html"/>
          <bt:Url id="CommandsHtml" DefaultValue="https://signet7.io/outlook/commands.html"/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="GroupLabel" DefaultValue="Signet7"/>
          <bt:String id="VerifyButtonLabel" DefaultValue="Signet7"/>
          <bt:String id="SealButtonLabel" DefaultValue="Seal"/>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="VerifyButtonTooltip" DefaultValue="Pin this pane. Changing mail re-checks. Quiet on ordinary unsigned mail."/>
          <bt:String id="SealButtonTooltip" DefaultValue="Seal this draft. No .eml file. Needs a sender token."/>
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
