Question: I am using this code to use email application from my app.

```
String mailText = "Full Name:" + fname.getText().toString();
String subject = "Support";
Intent email = new Intent(Intent.ACTION_SEND);
email.putExtra(Intent.EXTRA_EMAIL, new String[] { "support@roncocala.com" });

email.putExtra(Intent.EXTRA_SUBJECT, subject);
email.setType("plain/text");

email.putExtra(Intent.EXTRA_TEXT, mailText);

startActivity(Intent.createChooser(email, "Choose an Email client :"));

```

But it shows extra applications like SKype and ES File Lan . Is there a way to limit these application to mail applications like gmail,yahoo,hotmail. Please help.Thanks.

Answer: 
To get only email client you need to use `android.content.Intent.ACTION_SENDTO` :

```
new Intent(Intent.ACTION_SENDTO); // return only the list of e-mail clients

```

you need to have configured an email account on those email client app or you'll have the error : "No application can perform this action".
None of the above solutions worked for me. After a lot of searching and testing, I finally found a good solution. Thanks to the Open source developer, [cketti](https://gist.github.com/cketti) for sharing his/her concise and neat solution.

```
String mailto = "mailto:bob@example.org" +
    "?cc=" + "alice@example.com" +
    "&subject=" + Uri.encode(subject) +
    "&body=" + Uri.encode(bodyText);

Intent emailIntent = new Intent(Intent.ACTION_SENDTO);
emailIntent.setData(Uri.parse(mailto));

try {
  startActivity(emailIntent);
} catch (ActivityNotFoundException e) {
  //TODO: Handle case where no email app is available
}

```

And [this](https://gist.github.com/cketti/6a9b67dd92540bc74b2e#file-emailintent-java) is the link to his/her gist.