I would like to implement something similar to the solution presented in this question , which allows the application to send emails without using ACTION_SEND Intent. However, instead of asking the user for their gmail credentials, I would rather use the AccountsManager class to allow access to the google account with one-click approval.
I am familiar with how to get the auth token / cookie when a user allows access to their account, but what I canβt find information (if at all possible) is how to authenticate and send email, given that auth cookie, not username and password. Any information on how to do this / if even possible would be greatly appreciated. Thanks in advance.
source share