<?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>5f34dd70-9976-4c2f-b51e-37adacb8fd91</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Souq E Kamil Trading and Solutions WLL</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Tellmerge"/>
  <Description DefaultValue="Send each recipient their own invoice, statement or payslip. Attaches a different document per row from a spreadsheet, previews every message, and sends through your own mailbox."/>
  <IconUrl DefaultValue="https://tellmerge.seksolution.com/app/assets/icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://tellmerge.seksolution.com/app/assets/icon-128.png"/>
  <SupportUrl DefaultValue="https://tellmerge.seksolution.com/support"/>
  <!-- Domains the add-in may NAVIGATE to besides SourceLocation. Only the MSAL
       popup does: NAA brokers a token silently in the common case, so this is
       exercised solely on first consent, MFA, or an expired session. That is
       also why its absence hides so well — everything works until the one
       moment a reviewer on a fresh tenant will certainly hit.
       login.live.com is listed too because a personal Microsoft account is
       redirected there rather than to the AAD endpoint. -->
  <AppDomains>
    <AppDomain>https://login.microsoftonline.com</AppDomain>
    <AppDomain>https://login.live.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.5"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://tellmerge.seksolution.com/app/"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit"/>
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.5">
        <bt:Set Name="Mailbox"/>
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <FunctionFile resid="fnFileUrl"/>
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="tmGroupRead">
                <Label resid="grpLabel"/>
                <Control xsi:type="Button" id="tmOpenRead">
                  <Label resid="btnLabel"/>
                  <Supertip>
                    <Title resid="btnLabel"/>
                    <Description resid="btnTip"/>
                  </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="tmGroupCompose">
                <Label resid="grpLabel"/>
                <Control xsi:type="Button" id="tmOpenCompose">
                  <Label resid="btnLabel"/>
                  <Supertip>
                    <Title resid="btnLabel"/>
                    <Description resid="btnTip"/>
                  </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>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="icon16" DefaultValue="https://tellmerge.seksolution.com/app/assets/icon-16.png"/>
        <bt:Image id="icon32" DefaultValue="https://tellmerge.seksolution.com/app/assets/icon-32.png"/>
        <bt:Image id="icon80" DefaultValue="https://tellmerge.seksolution.com/app/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="taskpaneUrl" DefaultValue="https://tellmerge.seksolution.com/app/"/>
        <bt:Url id="fnFileUrl" DefaultValue="https://tellmerge.seksolution.com/app/"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="grpLabel" DefaultValue="Tellmerge"/>
        <bt:String id="btnLabel" DefaultValue="Mail merge"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="btnTip" DefaultValue="Open Tellmerge to send each recipient their own document from a spreadsheet."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
