<clientConfig version="1.1">
  <emailProvider id="mail.ee">
    <domain>mail.ee</domain>
    <displayName>%EMAILDOMAIN%</displayName>
    <displayShortName>%EMAILDOMAIN%</displayShortName>
    <incomingServer type="imap">
      <hostname>%EMAILDOMAIN%</hostname>
      <port>993</port>
      <socketType>SSL</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </incomingServer>
    <incomingServer type="pop3">
      <hostname>%EMAILDOMAIN%</hostname>
      <port>995</port>
      <socketType>SSL</socketType>
      <username>%EMAILADDRESS%</username>
      <authentication>password-cleartext</authentication>
      <pop3>
        <leaveMessagesOnServer>true</leaveMessagesOnServer>
      </pop3>
    </incomingServer>
    <outgoingServer type="smtp">
      <hostname>%EMAILDOMAIN%</hostname>
      <port>465</port>
      <socketType>SSL</socketType>
      <username>%EMAILADDRESS%</username>
      <authentication>password-cleartext</authentication>
    </outgoingServer>
    <documentation url="https://help.mail.ee/?keyword=email_clients_settings">
       <descr lang="en">Configure Thunderbird 2.0 for IMAP/POP3/SMTP</descr>
       <descr lang="lv">E-pasta klientu konfigurācija (IMAP/POP3/SMTP)</descr>
       <descr lang="lt">Pašto programų nustatymai (IMAP, POP3, SMTP)</descr>
       <descr lang="ru">Настройки для почтовых программ (IMAP, POP3,SMTP и др.)</descr>
    </documentation>
    <enable visiturl="https://help.mail.ee/?keyword=email_clients_access">
      <instruction>Enable external POP3/IMAP and SMTP access in your account settings</instruction>
      <instruction lang="lv">Ieslēgt POP3/IMAP pieeju savam kontam</instruction>
      <instruction lang="ru">Доступ POP3/IMAP, пароль для почтовой программы</instruction>
      <instruction lang="lt">POP3/IMAP prieiga, pašto programų slaptažodis</instruction>
      <instruction lang="et">POP3/IMAP juurdepääs, e-posti programmi parool</instruction>
    </enable>
  </emailProvider>
  <webMail>
    <loginPage url="https://login.%EMAILDOMAIN%"/>
    <loginPageInfo url="https://login.%EMAILDOMAIN%">
      <username>%EMAILADDRESS%</username>
      <usernameField id="userName" name="imapuser"/>
      <passwordField id="password" name="pass"/>
      <loginButton id="implogin__btn_sign-in"/>
    </loginPageInfo>
  </webMail>
</clientConfig>
