I'm currently playing around with the Gmail API.
https://developers.google.com/gmail/api/v1/reference/users/messages/get
Does anyone know how to find the email ID?
Thanks!
You need to do a list as described here first (it has search semantics in the q parameter if you are not interested in all messages): https://developers.google.com/gmail/api/v1/reference/users/messages/list
This returns a list of messages which look like this: https://developers.google.com/gmail/api/v1/reference/users/messages#resource
The message id is the id field ("id": string)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With