I have a situation where i have to send emails to gmail users using client's login name and password. I can get their login name and password but the problem here is i can't send mails through my web app deployed in amazon cloud connection. I followed this link earlier.
Can i use google identity api so that after sign-in can i get oauth token which can be used in Gmail api in sending mails.
Note: I have a project created in Google developers console with Gmail api enabled and i need mail to be sent from client email address not from the mail through which i created project in google developers console.
Is there any other api which can solve my problem? Idtoken which we receive after successful sign in is same as oauth2token? please help me