modify test_gmail_v1.py (snippet)