<p><a href="https://github.com/Frizlab" class="user-mention">@Frizlab</a>: It appears that when user doesn't want XOAUTH2, it doesn't fallback gracefully:</p>

<pre><code>Account sync nis:
 ERROR: No remote oauth2_request_url for repository 'Remotenis' specified.
ERROR: Exceptions occurred during the run!
ERROR: No remote oauth2_request_url for repository 'Remotenis' specified.

Traceback:
  File "/home/nicolas/dev/official_packages/gitrepos/offlineimap/offlineimap/accounts.py", line 248, in syncrunner
    self.remoterepos = Repository(self, 'remote')
  File "/home/nicolas/dev/official_packages/gitrepos/offlineimap/offlineimap/repository/__init__.py", line 82, in __new__
    return repo(name, account)
  File "/home/nicolas/dev/official_packages/gitrepos/offlineimap/offlineimap/repository/IMAP.py", line 38, in __init__
    self.imapserver = imapserver.IMAPServer(self)
  File "/home/nicolas/dev/official_packages/gitrepos/offlineimap/offlineimap/imapserver.py", line 100, in __init__
    self.oauth2_request_url = repos.getoauth2_request_url()
  File "/home/nicolas/dev/official_packages/gitrepos/offlineimap/offlineimap/repository/IMAP.py", line 276, in getoauth2_request_url
    OfflineImapError.ERROR.REPO)
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OfflineIMAP/offlineimap/issues/258">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AKFSEPocprEIuF0nz1bOmsieh4scbqA3ks5o6zzXgaJpZM4GM53Y.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OfflineIMAP/offlineimap/issues/258"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>