Is there any way to send emails using device's Signed-in Google Account?
A similar question has been asked earlier, but didn't get enough answers or perhaps it was long ago and now a number of new APIs are available.
Previously, I had been using Intent.createChooser
to prompt the user to select a mailing client and manually send mail. But this time, I want the whole process to be done without any user interaction. I don't even want to ask the user to provide one-time SMTP account details or use my own for this process.
I know, I can access AccountManager
to get information about signed-in account, but can it help me to send an email without any user interaction at all (e.g. send email programmatically).