title: Using Intent.ACTION_SENDTO produces error 'No apps can perform this action" even though there are two email clients installed
body: <p>I am attempting to use the email intent in Android Studio 3.01. If I use <code>ACTION_SENDTO</code>, I get an error <code>No apps can perform this action even</code> though the stock Android email client and the Gmail email app are both installed. If I use <code>ACTION_SEND</code> in place of <code>ACTION_SENDTO</code>, a screen is shown displaying every app on the device. </p>
  
  <p>My goal is to invoke the default email client directly, without going through an intervening screen. What am I doing wrong?</p>
  
  <p>The code I'm using is:</p>
  
  <pre><code>public void sendEmail(View view) {
  
      Intent emailIntent = new Intent(Intent.ACTION_SENDTO);
      emailIntent.setData(Uri.parse("mailto:"));
      emailIntent.setType("text/plain");
  
      try {
          startActivity(Intent.createChooser(emailIntent, "Send mail..."));
          finish();
          Log.i("Email sent!", "");
      } catch (android.content.ActivityNotFoundException ex) {
          Toast.makeText(MapsActivityCurrentPlace.this,
                  "Email not installed.", Toast.LENGTH_SHORT).show();
      }
  }
  </code></pre>
  
  <p><strong>EDITED</strong></p>
  
  <p>Thanks to the answer, final working code looks like:</p>
  
  <pre><code>public void sendEmail(View view) {
  
      Intent emailIntent = new Intent(Intent.ACTION_SENDTO);
      emailIntent.setData(Uri.parse("mailto:"));
      emailIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject");
      emailIntent.putExtra(Intent.EXTRA_TEXT, "Message...");
  
      try {
          startActivity(emailIntent);
          finish();
          Log.i("Email sent!", "");
      } catch (android.content.ActivityNotFoundException ex) {
          Toast.makeText(MapsActivityCurrentPlace.this,
                  "Email not installed.", Toast.LENGTH_SHORT).show();
      }
  }
  </code></pre>
  
  <p>}</p>