Module Expr Str Import alias alias Import alias Import alias Import alias identifier Import alias Expr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str If NameLoad body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword ListLoad Str Str Str Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str Str If NameLoad body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword ListLoad Str Str Str Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore TupleLoad Str Str Str Str body If CompareIn NameLoad NameLoad body Print BinOpMod Str SubscriptLoad NameLoad Index NameLoad Print BinOpMod Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str TryExcept body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str
N/A N/A test_gmail_v1
message will be in 'SENT' label
so add labels 'INBOX', 'UNREAD', 'STARRED' later
 N/A sys os N/A socket N/A pprint N/A googleDriveAccess gda N/A logging N/A N/A N/A logging basicConfig main N/A N/A basedir N/A N/A N/A oa2 N/A N/A gda OAuth2Client basedir N/A ui N/A N/A oa2 userInfo N/A act N/A ui N/A email N/A gm N/A N/A gda GmailClient abc oa2 N/A mo N/A N/A gm sendMsg act act message title message text N/A mo N/A N/A N/A MessageId: %s - labels %s N/A N/A mo N/A id N/A mo N/A labelIds N/A mo N/A N/A gm modifyLabels N/A mo N/A id addLabels N/A INBOX UNREAD STARRED N/A N/A MessageId: %s - labels %s N/A N/A mo N/A id N/A mo N/A labelIds N/A mo N/A N/A gm sendMsg act act title attach text attach test_document.txt N/A mo N/A N/A N/A MessageId: %s - labels %s N/A N/A mo N/A id N/A mo N/A labelIds N/A mo N/A N/A gm modifyLabels N/A mo N/A id addLabels N/A INBOX UNREAD STARRED N/A N/A MessageId: %s - labels %s N/A N/A mo N/A id N/A mo N/A labelIds N/A msgs N/A N/A gm getMsgEntries maxResults 3 N/A msg N/A msgs N/A messages N/A N/A mo N/A N/A gm getMsg N/A msg N/A id N/A hdrs N/A N/A gm getHdrsDict mo N/A k N/A date to from subject N/A N/A N/A k hdrs N/A N/A N/A %s: %s N/A hdrs N/A k N/A N/A snippet: %s N/A N/A gm trimWidth N/A mo N/A snippet 70 N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A N/A logging getLogger setLevel N/A getattr logging INFO N/A N/A N/A N/A main N/A N/A N/A os path dirname __file__ N/A N/A N/A N/A N/A socket gaierror N/A e N/A N/A N/A N/A N/A sys stderr write socket.gaierror