Sign in

Extract DataFrame from Email via Gmail API & Python

image from

This is a quick walkthrough to extrace HTML tables from your (google) emails, using Gmail API, Pandas and Python. Part of this article was taken and modified from Qiuckstart Gmail API documentation.

First, you should enable Gmail API and Download the generated credentials.json file from the API docs. Note, you can choose your OAuth client as Desktop Client. Make sure to click…