<?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/1.0" xsi:type="MailApp">
  <Id>33f1ce9e-8a9f-4164-8d4b-16d52404404d</Id>
  <Version>2.2.0.2</Version>
  <ProviderName>Secured2</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="DEMO-DEV Beyond Encryption - Secure Email"/>
  <Description DefaultValue="Secured has a patented process that shrinks, shreds, secures, restores your email in Outlook.com. Secures your data beyond encryption and offers layers of complexity to enforce secured messaging of emails."/>
  <IconUrl DefaultValue="https://localhost:3000/assets/icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://localhost:3000/assets/icon-128.png"/>
  <SupportUrl DefaultValue="https://www.contoso.com/help"/>
  <AppDomains>
    <AppDomain>https://www.particlemailer.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <FormSettings>
	<Form xsi:type="ItemEdit">
	  <DesktopSettings>
	    <SourceLocation DefaultValue="https://www.particlemailer.com/secured2outlook/AddInCompose/Home/Home.html"/>
	  </DesktopSettings>
	</Form>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://www.particlemailer.com/secured2outlook/AddInRead/Home/Home.html"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteMailbox</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
	  <Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
	  <Rule xsi:type="ItemHasKnownEntity" EntityType="EmailAddress" />
	  <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
	  <Rule xsi:type="ItemHasKnownEntity" EntityType="Url" RegExFilter="/secured/g" FilterName="filterDomainName" />
  </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.3">
        <bt:Set Name="Mailbox"/>
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="MessageComposeCommandSurface">
            <OfficeTab id="TabDefault">
				<Group id="msgComposeDemoGroup">
					<Label resid="GroupLabel"/>

					<Control xsi:type="Button" id="msgComposeOpenPaneButton">
						<Label resid="paneComposeButtonLabel" />
						<Supertip>
							<Title resid="paneComposeSuperTipTitle" />
							<Description resid="paneComposeSuperTipDescription" />
						</Supertip>
						<Icon>
							<bt:Image size="16" resid="Icon.16x16"/>
							<bt:Image size="32" resid="Icon.32x32"/>
							<bt:Image size="80" resid="Icon.80x80"/>
						</Icon>
						<!-- The ShowTaskpane action displays the given URL in a taskpane.-->
						<Action xsi:type="ShowTaskpane">
							<SourceLocation resid="composeTaskPaneUrl" />
						</Action>
					</Control>
				</Group>
			</OfficeTab>
          </ExtensionPoint>

		  <ExtensionPoint xsi:type="MessageReadCommandSurface">
				<OfficeTab id="TabDefault">
					<Group id="msgReadDemoGroup">
						<Label resid="GroupLabel"/>
						<Control xsi:type="Button" id="msgReadOpenPaneButton">
							<Label resid="paneReadButtonLabel" />
							<Supertip>
								<Title resid="paneReadSuperTipTitle" />
								<Description resid="paneReadSuperTipDescription" />
							</Supertip>
							<Icon>
								<bt:Image size="16" resid="Icon.16x16"/>
								<bt:Image size="32" resid="Icon.32x32"/>
								<bt:Image size="80" resid="Icon.80x80"/>
							</Icon>
							<!-- The ShowTaskpane action displays the given URL in a taskpane.-->
							<Action xsi:type="ShowTaskpane">
								<SourceLocation resid="readTaskPaneUrl" />
							</Action>
						</Control>
					</Group>
				</OfficeTab>
			</ExtensionPoint>	
			
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://localhost:3000/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://localhost:3000/assets/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://localhost:3000/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
		<!--  Compose mode  -->
        <bt:Url id="composeTaskPaneUrl" DefaultValue="https://www.particlemailer.com/secured2outlook/AddInCompose/Home/Home.html"/>
        <!--  Read mode  -->
		<bt:Url id="readTaskPaneUrl" DefaultValue="https://www.particlemailer.com/secured2outlook/AddInRead/Home/Home.html"/>  
	  </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GroupLabel" DefaultValue="DEMO-DEV Beyond Encryption"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="Show task pane"/>
        <bt:String id="ActionButton.Label" DefaultValue="Perform an action"/>
		<!--  Compose mode  -->
        <bt:String id="paneComposeButtonLabel" DefaultValue="default"/>
        <bt:String id="paneComposeSuperTipTitle" DefaultValue="default"/>
		<!--  Read mode  -->
		<bt:String id="paneReadButtonLabel" DefaultValue="default"/>
		<bt:String id="paneReadSuperTipTitle" DefaultValue="default"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens a pane displaying all available properties."/>
        <bt:String id="ActionButton.Tooltip" DefaultValue="Perform an action when clicked."/>
		<!--  Compose mode  -->
		<bt:String id="paneComposeButtonTooltip" DefaultValue="Secured Email"/>
        <bt:String id="paneComposeSuperTipDescription" DefaultValue="default"/>
		<!--  Read mode  -->
		<bt:String id="paneReadButtonTooltip" DefaultValue="Secured Email"/>
		<bt:String id="paneReadSuperTipDescription" DefaultValue="Secures Email Read fetches and returns the email previously secured. "/>
      </bt:LongStrings>
    </Resources>
	</VersionOverrides>
  </VersionOverrides>
</OfficeApp>
