I have an app that needs to send email without user interaction. I've developed this code that set the default email client as GMAIL, but is necessary press SEND.
Intent emailIntent = new Intent(Intent.ACTION_SENDTO);
    emailIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    emailIntent.setType("plain/text");
    emailIntent.setClassName("com.google.android.gm", "com.google.android.gm.ComposeActivityGmail");
    emailIntent.setData(Uri.parse("mailto:"));
    emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{"user@mail.com"});
    emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "SUBJECT TEXT");
    emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "body text");
    startActivity(emailIntent);
After that, it will show the email form with fields filled and the user needs to press SEND button. Does someone know how to send automatically ?
 
    