def get_google_refresh_token(email):
    try:
        me = UserSocialAuth.objects.get(uid=email, provider="google-oauth2")
        return me.extra_data['refresh_token']
    except (UserSocialAuth.DoesNotExist, __HOLE__):
        raise RefreshTokenNotFound
dataset/ETHPy150Open coddingtonbear/django-mailbox/django_mailbox/google_utils.py/get_google_refresh_token