How can I get the body of a gmail email with an attatchment gmail python API

前端 未结 0 391
北荒
北荒 2021-01-25 19:58

This is my code to get the body of the email:

body = []
body.append(msg[\'payload\'][\'parts\'])
if \'data\' in body[0][0][\'body\']:
    print("goes path 1&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题