static public void sendEmail(Activity activity, String body, String subject) { String email = ""; Intent intent = new Intent(Intent.ACTION_SENDTO); intent.setData(new Uri.Builder().scheme("mailto").build()); intent.putExtra(Intent.EXTRA_EMAIL, new String[]{email}); intent.putExtra(Intent.EXTRA_SUBJECT, subject); intent.putExtra(Intent.EXTRA_TEXT, body); ComponentName emailApp = intent.resolveActivity(activity.getPackageManager()); ComponentName unsupportedAction = ComponentName.unflattenFromString("com.android.fallback/.Fallback"); if (emailApp != null && !emailApp.equals(unsupportedAction)) try { Intent chooser = Intent.createChooser(intent, "Send email with"); activity.startActivity(chooser); return; } catch (ActivityNotFoundException ignored) { } Toast.makeText(activity, "Couldn't find an email app and account", Toast.LENGTH_LONG).show(); }