<?xml version="1.0" encoding="UTF-8"?>
            <clientConfig version="1.1">
                <emailProvider id="%EMAILDOMAIN%">
                    <domain>%EMAILDOMAIN%</domain>
                    <displayName>University of Wisconsin Microsoft 365 (%EMAILDOMAIN%)</displayName>
                    <displayShortName>University of Wisconsin Microsoft 365 (%EMAILDOMAIN%)</displayShortName>
                    <incomingServer type="imap">
                        <hostname>outlook.office365.com</hostname>
                        <port>993</port>
                        <socketType>SSL</socketType>
                        <authentication>OAuth2</authentication>
                        <username>%EMAILADDRESS%</username>
                    </incomingServer>
                    <outgoingServer type="smtp">
                        <hostname>smtp.office365.com</hostname>
                        <port>587</port>
                        <socketType>STARTTLS</socketType>
                        <authentication>OAuth2</authentication>
                        <username>%EMAILADDRESS%</username>
                    </outgoingServer>
                    <documentation url="https://kb.wisc.edu/page.php?id=28427">
                        <descr lang="en">WiscMail - Configuring Thunderbird</descr>
                    </documentation>
                </emailProvider>
            </clientConfig>