<?xml version="1.0" encoding="UTF-8"?>
<!--
  PadFlow's Outlook add-in: a reading-pane pane that files an attachment or
  a message straight into a project, without the forward-and-wait of email
  intake (src/lib/email-intake.ts). Second ingress, same filing logic.

  XML add-in-only manifest, not the unified JSON manifest: the unified format
  cannot sideload on Outlook for Mac or mobile and needs a Marketplace round
  trip before an admin can push it. This form installs everywhere today and
  admin-deploys from the Microsoft 365 admin center with no review.

  Requirement set Mailbox 1.8. getAttachmentContentAsync needs only ReadItem
  at 1.8 and later, confirmed against the current Office.js reference for
  MessageRead, not assumed, so this asks for the narrower permission rather
  than ReadWriteMailbox.
-->
<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>270e288e-4dee-44cc-8f06-1064cbaf8b9f</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>PadFlow</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="PadFlow" />
  <Description DefaultValue="File a message and its attachments to a PadFlow project, right from the reading pane." />
  <IconUrl DefaultValue="https://app.padflow.io/brand/logo-square-120.png" />
  <HighResolutionIconUrl DefaultValue="https://app.padflow.io/brand/logo-square-512.png" />
  <SupportUrl DefaultValue="https://app.padflow.io" />
  <AppDomains>
    <AppDomain>https://app.padflow.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://app.padflow.io/addins/outlook" />
        <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>
</OfficeApp>
