title: How to send mail on button clicked Android Studio?
body: <p>I want to send e-mail and when button is clicked I want list of e-mail based applications . When I use below source code it outputs all message based apps as showin in picture</p>
  
  <pre><code>Intent intent2 = new Intent(Intent.ACTION_SEND);
  intent2.setData(Uri.parse("mailto:"));
  intent2.setType("plain/text");
  intent2.putExtra(Intent.EXTRA_EMAIL, new String[]{email});
  startActivity(intent2);
  </code></pre>
  
  <p>When I click on button, such apps are showing</p>
  
  <p><a href="https://i.stack.imgur.com/QNS11.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QNS11.jpg" alt="enter image description here"></a></p>
  
  <blockquote>
    <p>but I want only e-mail based apps, such as. <strong>What I should change to get such list of apps?</strong></p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/z3GXp.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z3GXp.jpg" alt="enter image description here"></a></p>