I would like to implement something similar to the solution presented in this question that allows an application to send an email without using the ACTION_SEND
Intent. However, rather than prompting the user for their gmail credentials, I'd rather use the AccountsManager class to allow access to the google account with one-click approval.
I'm familiar with how to get the the auth token/cookie once the user permits access to their account, but what I cant find information on (if it's at all possible) is how to authenticate and send email given that auth cookie rather than username and password. Any info on how to do this / if it's even possible would be greatly appreciated. Thanks in advance.