[Alpine-info] Gmail Access

Eduardo Chappa via Alpine-info alpine-info at u.washington.edu
Mon May 20 08:13:54 PDT 2024


On Sat, 18 May 2024, Marc Lytle via Alpine-info wrote:


> I have set up Alpine with Gmail and I'm able to successfully connect to

> the Gmail account and access/send email. The issue is that this just

> stops working after a couple of days.


What happened during the "couple of days" that you mention here? Let me
explain what I am asking. Was Alpine kept open during that time and then
closed, and the reopened? My thinking is that the issue you are reporting
could be due to alpine not writing the password file. To check this you
would have to open two parallel sessions of Alpine, the second after the
first has succeeded saving the refresh token.

On the other hand, I believe that refresh tokens expire if you set up the
publishing status of your app to be in testing, rather than in production,
and that period of expiration is a few days (seven?), so maybe take a look
into that.

If you run alpine with debug (alpine -d 9) you can see if Alpine found a
token to try in your password file to have another way to test if alpine
is saving your tokens in the password file.

I hope this helps.

--
Eduardo


More information about the Alpine-info mailing list