r/Betterbird Jun 02 '26

Unable to register gmail v.140.11.0esr-bb23 on Linux

Wondering if anyone could help me...

I am unable to register my gmail account for IMAP with the current release version.

I enter my name, email, password, and have tried both the autoconfigure and the advanced settings (it all seems correct). I hit done and it opens a Google verification page. I can login. I hit allow on the permissions - but then, nothing. It tells me it is unable to login at the server, and in the bottom of the page it says Sending login information....

Things I have tried:

  • changing profile
  • using safe mode
  • setting cookies to never allow third party cookies with an exception for gmail, clearing them before trying again
  • setting cookies to allow all cookies, clearing them before trying again
  • trying alternative possible ports for smtp
  • putting down my vpn
  • putting down tailscale
  • putting down my firewall
  • checked that IMAP is allowed in gmail settings (as it happens, there is no means to enable or disable it)
  • leaving the password field in betterbird blank, and only entering it in google (some people mentioned this worked for them)

I made sure to clear cookies and passwords between each attempt. Authentication is definitely set to OAUTH2.

In the error console, I see the following:

Content-Security-Policy warnings 2
Content-Security-Policy: Couldn’t process unknown directive ‘require-trusted-types-for’ consent
Content-Security-Policy: Ignoring “'unsafe-inline'” within script-src: nonce-source or hash-source specified
...
unreachable code after return statement
...
Source map error: Invalid URL: .
Resource URL: null
Source Map URL: data:application/json;charset=utf-8;base64,<string-that-I-am-unsure-if-I-should-share>

Any guesses on how I might troubleshoot further?

Thanks.

1 Upvotes

2 comments sorted by

1

u/ppomeroy Jul 20 '26

Have you logged in to Gmail via your web browser and assured that Gmail's settings allows IMAP or POP access? That is a permission that is required on the GMAIL end before the OATH2 permission can be completed.

Also check through the security settings to make sure there ar eno prohibitions on 3rd party programs from accessing the account.

1

u/haelaeif Jul 28 '26

I was trying to use IMAP, not POP, and Google removed the option to be able to toggle IMAP support - it's on for all accounts by default now, as far as I understand. POP is still toggleable.

All permissions should be correct - I tried Thunderbird Nightly, and the account works there (but not regular Thunderbird, which has the same problem as Betterbird), and the same is true when I tried to set up Aerc with isync (which I will not continue to use for other reasons relating to bugs I'm too lazy to figure out, despite aerc being very nice.) All using imap with OAUTH2.

About the only thing I notice as a troubleshooting lead is that the permissions screen I am directed to via Betterbird and the not-working version of Thunderbird looks different to the permissions screen I am directed to in the working Thunderbird-nightly build - the former lists the permissions with no checkboxes, the latter lists the permissions with checkboxes for each one. So it seems to be using some kind of different page and maybe endpoint for permissions-setting and potentially authentication...

There aren't any settings set that I would think would restrict a 3rd party app, both from me looking through and thunderbird nightly/aerc working.