I am trying to access a link in my emails that I get in my Gmail account from a specific email address. So far using GMAIL api I am able to get the email id using python function ListMessagesMatchingQuery from the documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/list
Then from here, I am able to retrieve the contents of the email using python function GetMessage from the documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/get.
The format of the contents, however, is not enough. What I want to get is the link from the email contents so that I can access it's HTML page and then scrape it.
Thank you
Users.messages:get
then convert that string to url format so that you can access the link? – jess