<?xml version="1.0" encoding="utf-8"?>
<OfficeApp xsi:type="MailApp" xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Id>1d785103-4964-4d9e-83a0-1afcd3862dce</Id>
    <Version>1.3.0.0</Version>
    <ProviderName>Grunden</ProviderName>
    <DefaultLocale>en-US</DefaultLocale>
    <DisplayName DefaultValue="Grunden"/>
    <Description DefaultValue="AI email assistant that helps you analyze emails and draft replies, running on Grunden."/>
    <IconUrl DefaultValue="https://office.grunden.ai/assets/icon-64.png"/>
    <HighResolutionIconUrl DefaultValue="https://office.grunden.ai/assets/icon-128.png"/>
    <SupportUrl DefaultValue="https://grunden.ai/contact/"/>
    <AppDomains>
        <AppDomain>https://office.grunden.ai</AppDomain>
        <AppDomain>https://auth.grunden.ai</AppDomain>
    </AppDomains>
    <Hosts><Host Name="Mailbox"/></Hosts>
    <Requirements><Sets><Set Name="Mailbox" MinVersion="1.3"/></Sets></Requirements>
    <FormSettings>
        <Form xsi:type="ItemRead">
            <DesktopSettings>
                <SourceLocation DefaultValue="https://office.grunden.ai/taskpane.html"/>
                <RequestedHeight>450</RequestedHeight>
            </DesktopSettings>
        </Form>
        <Form xsi:type="ItemEdit">
            <DesktopSettings>
                <SourceLocation DefaultValue="https://office.grunden.ai/taskpane.html"/>
            </DesktopSettings>
        </Form>
    </FormSettings>
    <Permissions>ReadWriteItem</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>
                    <ExtensionPoint xsi:type="MessageReadCommandSurface">
                        <OfficeTab id="TabDefault">
                            <Group id="GrundenGroup">
                                <Label resid="GroupLabel"/>
                                <Control xsi:type="Button" id="GrundenButton">
                                    <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="Taskpane.Url"/>
                                    </Action>
                                </Control>
                            </Group>
                        </OfficeTab>
                    </ExtensionPoint>
                    <ExtensionPoint xsi:type="MessageComposeCommandSurface">
                        <OfficeTab id="TabDefault">
                            <Group id="GrundenComposeGroup">
                                <Label resid="GroupLabel"/>
                                <Control xsi:type="Button" id="GrundenComposeButton">
                                    <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="Taskpane.Url"/>
                                    </Action>
                                </Control>
                            </Group>
                        </OfficeTab>
                    </ExtensionPoint>
                </DesktopFormFactor>
            </Host>
        </Hosts>
        <Resources>
            <bt:Images>
                <bt:Image id="Icon.16x16" DefaultValue="https://office.grunden.ai/assets/icon-16.png"/>
                <bt:Image id="Icon.25x25" DefaultValue="https://office.grunden.ai/assets/icon-25.png"/>
                <bt:Image id="Icon.32x32" DefaultValue="https://office.grunden.ai/assets/icon-32.png"/>
                <bt:Image id="Icon.48x48" DefaultValue="https://office.grunden.ai/assets/icon-48.png"/>
                <bt:Image id="Icon.80x80" DefaultValue="https://office.grunden.ai/assets/icon-80.png"/>
                <bt:Image id="Icon.128x128" DefaultValue="https://office.grunden.ai/assets/icon-128.png"/>
            </bt:Images>
            <bt:Urls>
                <bt:Url id="Taskpane.Url" DefaultValue="https://office.grunden.ai/taskpane.html"/>
                <bt:Url id="Commands.Url" DefaultValue="https://office.grunden.ai/commands.html"/>
            </bt:Urls>
            <bt:ShortStrings>
                <bt:String id="GroupLabel" DefaultValue="Grunden"/>
                <bt:String id="TaskpaneButton.Label" DefaultValue="Grunden"/>
            </bt:ShortStrings>
            <bt:LongStrings>
                <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Read this email, draft a reply, or improve what you are writing, with Grunden."/>
            </bt:LongStrings>
        </Resources>
        <!-- v1.1 adds SupportsPinning to the read-mode button. -->
            <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
                <Requirements>
                    <bt:Sets DefaultMinVersion="1.5">
                        <bt:Set Name="Mailbox"/>
                    </bt:Sets>
                </Requirements>
                <Hosts>
                    <Host xsi:type="MailHost">
                        <DesktopFormFactor>
                            <ExtensionPoint xsi:type="MessageReadCommandSurface">
                                <OfficeTab id="TabDefault">
                                    <Group id="GrundenGroupV11">
                                        <Label resid="GroupLabel"/>
                                        <Control xsi:type="Button" id="GrundenButtonV11">
                                            <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="Taskpane.Url"/>
                                                <SupportsPinning>true</SupportsPinning>
                                            </Action>
                                        </Control>
                                    </Group>
                                </OfficeTab>
                            </ExtensionPoint>
                            <ExtensionPoint xsi:type="MessageComposeCommandSurface">
                                <OfficeTab id="TabDefault">
                                    <Group id="GrundenComposeGroupV11">
                                        <Label resid="GroupLabel"/>
                                        <Control xsi:type="Button" id="GrundenComposeButtonV11">
                                            <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="Taskpane.Url"/>
                                            </Action>
                                        </Control>
                                    </Group>
                                </OfficeTab>
                            </ExtensionPoint>
                        </DesktopFormFactor>
                    </Host>
                </Hosts>
                <Resources>
                    <bt:Images>
                        <bt:Image id="Icon.16x16" DefaultValue="https://office.grunden.ai/assets/icon-16.png"/>
                        <bt:Image id="Icon.25x25" DefaultValue="https://office.grunden.ai/assets/icon-25.png"/>
                        <bt:Image id="Icon.32x32" DefaultValue="https://office.grunden.ai/assets/icon-32.png"/>
                        <bt:Image id="Icon.48x48" DefaultValue="https://office.grunden.ai/assets/icon-48.png"/>
                        <bt:Image id="Icon.80x80" DefaultValue="https://office.grunden.ai/assets/icon-80.png"/>
                        <bt:Image id="Icon.128x128" DefaultValue="https://office.grunden.ai/assets/icon-128.png"/>
                    </bt:Images>
                    <bt:Urls>
                        <bt:Url id="Taskpane.Url" DefaultValue="https://office.grunden.ai/taskpane.html"/>
                        <bt:Url id="Commands.Url" DefaultValue="https://office.grunden.ai/commands.html"/>
                    </bt:Urls>
                    <bt:ShortStrings>
                        <bt:String id="GroupLabel" DefaultValue="Grunden"/>
                        <bt:String id="TaskpaneButton.Label" DefaultValue="Grunden"/>
                    </bt:ShortStrings>
                    <bt:LongStrings>
                        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Read this email, draft a reply, or improve what you are writing, with Grunden."/>
                    </bt:LongStrings>
                </Resources>
        </VersionOverrides>
    </VersionOverrides></OfficeApp>
