<?xml version="1.0" encoding="UTF-8"?>
<!--
  Seligo for Outlook — Office add-in manifest (WP27 S4). Separate from the
  Word/Excel manifest because an Office manifest cannot mix a MailHost with
  Document/Workbook hosts. Sideload for local dev; deploy via the M365 Admin
  Center (Integrated Apps).
  N1: the add-in persists no mail/Graph content.
-->
<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>6b2d3f4a-1c8e-4d9b-a7f2-3e5c8d0a9b21</Id>
  <Version>1.0.0.1</Version>
  <ProviderName>Seligo</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Seligo"/>
  <Description DefaultValue="Governed AI for Outlook — EU-hosted, budgeted, with visible provenance."/>
  <IconUrl DefaultValue="https://m365.seligo.cloud/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://m365.seligo.cloud/assets/icon-80.png"/>
  <SupportUrl DefaultValue="https://seligo.cloud/support"/>
  <AppDomains>
    <AppDomain>https://m365.seligo.cloud</AppDomain>
    <AppDomain>https://api.seligo.cloud</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.3">
      <Set Name="Mailbox"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://m365.seligo.cloud/taskpane.html"/>
        <RequestedHeight>350</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteItem</Permissions>

  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
  </Rule>

  <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="Seligo.MailGroup">
                <Label resid="Seligo.GroupLabel"/>
                <Control xsi:type="Button" id="Seligo.OpenMailPane">
                  <Label resid="Seligo.TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="Seligo.TaskpaneButton.Label"/>
                    <Description resid="Seligo.TaskpaneButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16"/>
                    <bt:Image size="32" resid="Icon.32"/>
                    <bt:Image size="80" resid="Icon.80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://m365.seligo.cloud/assets/icon-16.png"/>
        <bt:Image id="Icon.32" DefaultValue="https://m365.seligo.cloud/assets/icon-32.png"/>
        <bt:Image id="Icon.80" DefaultValue="https://m365.seligo.cloud/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Commands.Url" DefaultValue="https://m365.seligo.cloud/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://m365.seligo.cloud/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Seligo.GroupLabel" DefaultValue="Seligo"/>
        <bt:String id="Seligo.TaskpaneButton.Label" DefaultValue="Open Seligo"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Seligo.TaskpaneButton.Tooltip" DefaultValue="Open the Seligo AI pane."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
