title: Open Email App only through intent in Android Studio
body: <p>I don't want to send <code>emails</code> to other users. I only want to open the <code>launching activity</code> of <code>Email</code>. I have tried it through different ways but every time send <code>email(compose)</code> is opening. <strong>But i want to open <code>Email</code> app only nothing else(Sent, outbox, spam, Trash etc).</strong></p>
  
  <p>My code is below</p>
  
  <pre class="lang-java prettyprint-override"><code>Intent intent = new Intent(Intent.ACTION_SENDTO)
      .setData(Uri.parse("mailto:"));
  
  //check if the target app is available or not
  
  if (intent.resolveActivity(getPackageManager()) != null) {
      startActivity(intent);
  }
  </code></pre>
  
  <p>Again, This code opens the <code>send email to</code>(compose) option. <strong>But i want to open <code>Email</code> app only nothing else(Sent, outbox, spam, Trash etc).</strong></p>