<div class="control-group">
    <div class="controls">
        {{ form_row(form.imapAccountType.userEmailOrigin.checkFolder) }}
    </div>
</div>
{{ form_row(form.imapAccountType.userEmailOrigin.folders) }}

{{ form_row(form.imapAccountType.userEmailOrigin) }}

<div class="control-group">
    <div class="controls">
        {{ form_row(form.imapAccountType.userEmailOrigin.checkFolder) }}
    </div>
</div>
{{ form_row(form.imapAccountType.userEmailOrigin.folders) }}

{{ form_row(form.imapAccountType.imapGmailConfiguration.user) }}
{{ form_row(form.imapAccountType.imapGmailConfiguration.accessToken) }}
{{ form_row(form.imapAccountType.imapGmailConfiguration.clientId) }}
{{ form_row(form.imapAccountType.imapGmailConfiguration.imapPort) }}
{{ form_row(form.imapAccountType.imapGmailConfiguration.imapHost) }}
{{ form_row(form.imapAccountType.imapGmailConfiguration.imapEncryption) }}
{{ form_row(form.imapAccountType.imapGmailConfiguration.smtpPort) }}
{{ form_row(form.imapAccountType.imapGmailConfiguration.smtpHost) }}
{{ form_row(form.imapAccountType.imapGmailConfiguration.smtpEncryption) }}
{{ form_row(form.imapAccountType.imapGmailConfiguration.accessTokenExpiresAt) }}
{{ form_row(form.imapAccountType.imapGmailConfiguration.googleAuthCode) }}

Apply switch account type of IMAP integration form for system mailboxes form - fix render folders
BAP-9630: Apply switch account type of IMAP integration form for system mailboxes form
- fix render folders
