#2911 new
Gabriel Shanahan

MailMate keeps needing to reauthenticate with Google

Reported by Gabriel Shanahan | October 1st, 2021 @ 03:34 PM


I've been a MailMate user for years now and have seldom, if ever, encountered any problems. However, about two-three weeks ago, MailMate started to prompt me for authentication with Google (the OAuth flow, where Google asks you permission for MailMate to read your e-mail and such) almost every single day. Sometime, within 5 minutes of the last prompt. Once, it even went into a loop, where it would prompt me for authentication immediately after I had just gone through that process. I had to take to mailbox offline, kill the app, restart it, bring it online, authenticate again once or twice, and then it stopped asking for a while. I have no idea why this is happening, as far as I can tell it's completely random. Sometimes, I switch over to MailMate only to discover that my inbox is offline and I haven't been receiver e-mail for hours.

I'll be happy to provide any information necessary to solve this issue, but this is getting close to a deal breaker for me. Is there anything that can be done?

Kind regards,


Comments and changes to this ticket

  • benny

    benny October 3rd, 2021 @ 09:19 AM

    I don't know of any general problems with Gmail OAuth2. Try sending me a screenshot of your IMAP account settings window via “Help ▸ Send Feedback” and I'll see if anything is out of the ordinary.

    Any special network conditions which might affect this, that is, something which might make MailMate fail and then (wrongly) assume it needs re-authentication?

  • Gabriel Shanahan

    Gabriel Shanahan October 3rd, 2021 @ 09:25 AM

    Sent the screenshot. Network conditions haven't changed for months, and there are no 'specialities' involved - no proxies, no hw firewalls or anything similar, just my laptop connected via cable/wifi to our home router, which is connected directly to our ISP.

    Are there any logs I could collect in MailMate when the issue happens?

  • benny

    benny October 3rd, 2021 @ 09:27 AM

    Your settings look fine. Before debugging any further I'd like you to try the latest test release: r5831. This is just to make sure I'm not debugging something which has already been fixed.

    Open the Activity Viewer in MailMate to enable logging (⌥⌘0). Use MailMate until you have experienced a round of re-authentication and then send me logs by using “Help > Send Server Logs”. Do not relaunch MailMate when doing this (since logs will then be lost). If you cannot make it connect then create the email with the logs and then send it after relaunching/reconnecting.

  • Gabriel Shanahan

    Gabriel Shanahan October 3rd, 2021 @ 09:33 AM

    Thanks! I'll let you know.

  • Gabriel Shanahan

    Gabriel Shanahan October 6th, 2021 @ 05:17 PM

    Just a quick update: I haven't had the issue since upgrading to r5831, and I feel like it would have almost certainly happened at least once within 3 days. Will continue to monitor and let you know.

    Unfortunately, it now happens that, after some time, MailMate starts to drain 60% of my CPU, without there being any apparent need - there is no fetching going on or anything else. It stays that way until I kill it and restart. Any idea what that might be about? I wanted to attach a video of my Activity Monitor, but it doesn't seem to be possible to add attachments.

  • benny

    benny October 6th, 2021 @ 05:58 PM

    Thanks for the update. First, fetch r5834. When you see CPU issue then use the Activity Monitor to “Sample” the process. Send me the resulting file using “Help > Send Feedback”.

  • Kaji Ryoji

    Kaji Ryoji November 29th, 2021 @ 10:44 AM

    @benny I'm having the same issue with my outlook email. Do you have any idea why? I'm using the lastest alpha

  • benny

    benny November 29th, 2021 @ 02:03 PM

    @Gabriel: I believe the CPU issue has been fixed.

    @Kaji: First, make sure to update to the latest test release: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane. If the issue persists then search for com.freron.MailMate in Keychain Access. Try deleting the tokens related to the problematic account and see if that helps. If not, use “Help ▸ Send Feedback” to send me a screenshot of your IMAP account settings window.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket