Found it! It turns out that turning on TFA invalidates previous logins and tokens.
I requested a new token and all is working. On Thu, Jan 17, 2019 at 02:01:46PM -0600, Hokan wrote: > I've got mutt working with oauth2.py for gmail. I can send and read mail. > But ... I turned on two-factor authentication and now the oauth2.py script > fails. > > Have you gotten mutt to work with the oauth2.py script with TFA turned on? > How? -- Hokan Bicyclist Sysadmin