<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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" xsi:type="MailApp">
  <Id>dc420e5a-a383-4f66-8083-d9d120e70466</Id>
  <Version>1.0.0.3</Version>
  <ProviderName>Encrypt Titan</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Email Encryption"/>
  <Description DefaultValue="Email Encryption add-in"/>
  <IconUrl DefaultValue="https://access.encrypttitan.io/o365/assets/encrypt-icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://access.encrypttitan.io/o365/assets/encrypt-icon-64.png"/>
  <!-- <SupportUrl DefaultValue="https://access.encrypttitan.io/o365/help.html"/> -->
  <AppDomains>
    <AppDomain>https://access.encrypttitan.io/o365</AppDomain>
  </AppDomains>
  
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://access.encrypttitan.io/o365/taskpane.html"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteItem</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">
    
   <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
    
     
    <Requirements>
      <bt:Sets DefaultMinVersion="1.10">
        <bt:Set Name="Mailbox" MinVersion="1.10"/>
      </bt:Sets>
    </Requirements>
    <Hosts>
      
      <Host xsi:type="MailHost">
        <!-- Event-based activation happens in a lightweight runtime.-->
        <Runtimes>
          <!-- HTML file including reference to or inline JavaScript event handlers.
               This is used by Outlook on the web and on the new Mac UI, and new Outlook on Windows. -->
          <Runtime resid="WebViewRuntime.Url">
            <!-- JavaScript file containing event handlers. This is used by classic Outlook on Windows. -->
             <Override type="javascript" resid="JSRuntime.Url"/>
          </Runtime>
        </Runtimes>
        
        <DesktopFormFactor>
          <!-- <FunctionFile resid="Commands.Url"/> -->
          
          <ExtensionPoint xsi:type="MessageComposeCommandSurface">
            
            <OfficeTab id="TabDefault">
              <Group id="msgReadGroup">
                <Label resid="GroupLabel"/>
                <Control xsi:type="Button" id="msgReadOpenPaneButton">
                  <Label resid="TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="TaskpaneButton.Label"/>
                    <Description resid="TaskpaneButton.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="WebViewRuntime.Url"/>
                    <SupportsPinning>true</SupportsPinning>
                  </Action>
                  
                </Control>
              </Group>
            </OfficeTab>
            
          </ExtensionPoint>
          <!-- Enable launching the add-in on the included events. -->
          

          <ExtensionPoint xsi:type="LaunchEvent">
            <LaunchEvents>
              <LaunchEvent Type="OnMessageRecipientsChanged" FunctionName="onMessageRecipientsChanged" SendMode="PromptUser" />
              <!-- <LaunchEvent Type="OnMessageSend" FunctionName="onMessageSendHandler" SendMode="SoftBlock" /> -->
            </LaunchEvents>
            <!-- Identifies the runtime to be used (also referenced by the Runtime element). -->
            <SourceLocation resid="WebViewRuntime.Url"/>
          </ExtensionPoint>

          
          
        </DesktopFormFactor>
      </Host>
    </Hosts>
    
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://access.encrypttitan.io/o365/assets/encrypt-icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://access.encrypttitan.io/o365/assets/encrypt-icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://access.encrypttitan.io/o365/assets/encrypt-icon-64.png"/>
      </bt:Images>
      <bt:Urls>
        <!-- <bt:Url id="Commands.Url" DefaultValue="https://access.encrypttitan.io/o365/commands.html"/> -->
        <bt:Url id="WebViewRuntime.Url" DefaultValue="https://access.encrypttitan.io/o365/taskpane.html" />
        <bt:Url id="JSRuntime.Url" DefaultValue="https://access.encrypttitan.io/o365/classicoutlook.js"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GroupLabel" DefaultValue="Encryption Add-in"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="Encrypt Titan"/>
        <bt:String id="ActionButton.Label" DefaultValue="Perform an action"/>
        <bt:String id="NewButton.Label" DefaultValue="Set Secure Method"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Select encryption type,validity for email."/>
        <bt:String id="ActionButton.Tooltip" DefaultValue="Perform an action when clicked."/>
        <bt:String id="NewButton.Tooltip" DefaultValue="Report an unsolicited message."/>
      </bt:LongStrings>
    </Resources>
    
    
   </VersionOverrides>
  </VersionOverrides>
  
  
</OfficeApp>