<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
<style>
div.markdown { white-space: normal; }
body { font-family: sans-serif; }
h1 { font-size: 1.4em; }
h2 { font-size: 1.2em; }
h3 { font-size: 1.1em; }
a { color: #3983C4 }
blockquote a { color: #777777; }
blockquote blockquote a { color: #999999; }
blockquote blockquote blockquote a { color: #BBBBBB; }
pre { margin-left: 15px; margin-right: 15px; padding: 5px; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw; }
code { margin: 0; padding: 0 0.4em; border-radius: 3px; background-color: #F7F7F7; }
pre > code { padding: 0px; }
math[display="inline"] > mrow { padding:5px; }
div.footnotes li p { margin: 0.2em 0; }
</style>
</head>
<body>
<div class="markdown">
<p dir="auto">Hi everybody,</p>

<p dir="auto">based on the number of emails during the night about Gmail authentication issues then I'm now going to assume this is a MailMate issue. Possibly a new issue or something that got worse when I tried to fix it after the first reports (before the 1.9.5 beta was released). I'll do my best today to learn more and hopefully fix or workaround something. (Don't expect replies to any other issues until after this is resolved.)</p>

<p dir="auto">Read on if you have issues with MailMate asking to re-authenticate Gmail accounts. I'll start out with possible ways to make it stop and then I'll describe how to help me (if you have time).</p>

<h1>Possible workarounds</h1>

<h2>Switch to an older release of MailMate</h2>

<p dir="auto">The public version: <a href="http://updates.mailmate-app.com/archives/MailMate_r5234.tbz">http://updates.mailmate-app.com/archives/MailMate_r5234.tbz</a><br>
The last test version before the 1.9.5 features (almost as old as the public version): <a href="http://updates.mailmate-app.com/archives/MailMate_r5249.tbz">http://updates.mailmate-app.com/archives/MailMate_r5249.tbz</a><br>
The last version before I changed anything OAuth2 related: <a href="http://updates.mailmate-app.com/archives/MailMate_r5255.tbz">http://updates.mailmate-app.com/archives/MailMate_r5255.tbz</a></p>

<h2>Switch to password based access</h2>

<p dir="auto">Open the IMAP account editor via the File menu and disable OAuth2 authentication. This is <strong>only</strong> going to work if Google allows it for the particular account. I think this can be configured somewhere in the Gmail web settings, but Google regularly tightens the screw on this one.</p>

<h1>How to help</h1>

<p dir="auto">I'm still not seeing any issues with my own 2 Gmail accounts and therefore I cannot reproduce it. Here's how to generate as much data as possible for me with the current debug variables.</p>

<pre><code>defaults write com.freron.MailMate MmLoggingEnabled -bool YES
defaults write com.freron.MailMate MmDebugXOAUTH2 -bool YES
</code></pre>

<p dir="auto">Then launch MailMate like this (if MailMate is in <code>/Applications</code>):</p>

<pre><code>/Applications/MailMate.app/Contents/MacOS/MailMate
</code></pre>

<p dir="auto">Wait until you have seen the issue once or twice and then</p>

<pre><code>* Use “Help ▸ Send Server Logs”.
* Include the output from the Terminal window.
* State the OS version and MailMate version used (I'm interested in any MailMate version having this issue in order to narrow it down).
</code></pre>

<p dir="auto">Thanks in advance. Don't forget to disable the debug output:</p>

<pre><code>defaults delete com.freron.MailMate MmLoggingEnabled
defaults delete com.freron.MailMate MmDebugXOAUTH2
</code></pre>

<h1>Other ideas?</h1>

<p dir="auto">I'm open for ideas, but I'm also a bit swamped by emails. Keep it short :)</p>

<p dir="auto">-- <br>
Benny</p>
</div>

</body>
</html>