<?xml version="1.0" encoding="UTF-8"?>
<!--
  SmartLoads for Outlook: add-in-only manifest (2026-10-06).
  Read-mode task pane on email messages; reads the open email (ReadItem) and
  nothing else. Sideload / deploy steps: docs/outlook-addin.md.
  The Id is fixed for good: Outlook and Microsoft 365 track the add-in by it.
  Bump Version when anything in this file changes.
-->
<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>1f2292ed-dd6f-4431-8654-96ca30441acc</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>SmartLoads</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="SmartLoads"/>
  <Description DefaultValue="Read a carrier's rate con in Outlook, match it to the load in SmartLoads, and get it ready for Aljex."/>
  <IconUrl DefaultValue="https://smartloads.io/outlook/icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://smartloads.io/outlook/icon-128.png"/>
  <SupportUrl DefaultValue="https://smartloads.io/trust"/>
  <AppDomains>
    <AppDomain>https://smartloads.io</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <!-- 1.8: attachment content (getAttachmentContentAsync). -->
      <Set Name="Mailbox" MinVersion="1.8"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://smartloads.io/outlook/taskpane"/>
        <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.8">
        <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="SmartLoadsReadGroup">
                <Label resid="Group.Label"/>
                <Control xsi:type="Button" id="SmartLoadsOpenPane">
                  <Label resid="Button.Label"/>
                  <Supertip>
                    <Title resid="Button.Label"/>
                    <Description resid="Button.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://smartloads.io/outlook/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://smartloads.io/outlook/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://smartloads.io/outlook/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://smartloads.io/outlook/taskpane"/>
        <bt:Url id="Commands.Url" DefaultValue="https://smartloads.io/outlook/commands.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Group.Label" DefaultValue="SmartLoads"/>
        <bt:String id="Button.Label" DefaultValue="SmartLoads"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Button.Tooltip" DefaultValue="Read this rate con, match it to the load and get it ready for Aljex."/>
      </bt:LongStrings>
    </Resources>

    <!-- 1.1: the same button, with a pane that can stay pinned open from email to email. -->
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.8">
          <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="SmartLoadsReadGroup">
                  <Label resid="Group.Label"/>
                  <Control xsi:type="Button" id="SmartLoadsOpenPane">
                    <Label resid="Button.Label"/>
                    <Supertip>
                      <Title resid="Button.Label"/>
                      <Description resid="Button.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>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="Icon.16x16" DefaultValue="https://smartloads.io/outlook/icon-16.png"/>
          <bt:Image id="Icon.32x32" DefaultValue="https://smartloads.io/outlook/icon-32.png"/>
          <bt:Image id="Icon.80x80" DefaultValue="https://smartloads.io/outlook/icon-80.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="Taskpane.Url" DefaultValue="https://smartloads.io/outlook/taskpane"/>
          <bt:Url id="Commands.Url" DefaultValue="https://smartloads.io/outlook/commands.html"/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="Group.Label" DefaultValue="SmartLoads"/>
          <bt:String id="Button.Label" DefaultValue="SmartLoads"/>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="Button.Tooltip" DefaultValue="Read this rate con, match it to the load and get it ready for Aljex."/>
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
