All Questions
5 questions
0
votes
1
answer
1k
views
Inline / embedded attachments in emails sent by Google API through Python are also shown attached
I've been losing my mind over this issue for the past few days. To clarify my issue, I am trying to send emails with images embedded in them. I mostly use these embedded images for footer or social ...
0
votes
1
answer
101
views
GMAIL API: I cant change account in python
I want to change the account in python, but when I change
flow=InstalledAppFlow.from_client_secrets_file('onerandomclient.json', SCOPES)
For the other JSON, still connecting with the last account, ...
2
votes
1
answer
931
views
I've been working with the Google API. Sometimes my refresh token refreshes and other times it fails and causes a 'RefreshError.' Why? How to fix?
Error:
google.auth.exceptions.RefreshError: ('invalid_grant: Token has been expired or revoked.', {'error': 'invalid_grant', 'error_description': 'Token has been expired or revoked.'})
However, ...
0
votes
1
answer
301
views
error code 400 when trying to read GMAIL using a service account
I'm using Gmail's API to read messages to an inbox.
I have a project in the cloud developer portfolio. I sign in with the account whose inbox I have to get data from.
I've made a service account ...
1
vote
1
answer
60
views
How to get the Userb first message to me ? This below code helps to get the latest message.I want the first message of that user to me
How to get the Userb first message to me ?
This below code helps to get the latest message.
I want the first message of that user to me .
user a is ME
user b is other user
We want the first ...