simplegmail
simplegmail copied to clipboard
Add access_type 'offline' to receive the refresh token
Google returns a refresh token only if the access_type is set as 'offline'.
I've made it the default behavior but can change it.