Integrate Gmail API to Android Kotlin app
I was trying to implement email sending functionality using Gmail API in a Kotlin Android application. I was able to implement Google one-tap sign-in. I'm getting the token from the onActivityResult() function. I want to use this token to access Gmail API and send an email.
This is my source code that I used to implement Google one-tap sign-in. I want to implement the email sending functionality with the Gmail API. Can you kindly help me regarding this problem.
val SERVER_CLIENT_ID...