title: attachment not added to email intent
body: <p>I want to add some photo files to an e-mail intent. 
  The intent is starting normally. </p>
  
  <p><strong>Problem:</strong> The attachment is not showing up e.g. in the GMail application. I do not receive any error message. 
  Where could be the issue?</p>
  
  <p>I have changed my code along with the suggestions in this <a href="https://stackoverflow.com/questions/6078099/android-intent-for-sending-email-with-attachment">post</a> but my code still does not seem to work. </p>
  
  <p>The file path that I receive from the photo object: <code>file:///storage/emulated/0/Pictures/SMSCloudImages/IMG_20161127_121011.jpg</code>
  It should be a correct path because I can show the images in a gallery. </p>
  
  <pre><code>   Uri uri = Uri.parse("mailto:" + "someone@mail.com")
                  .buildUpon()
                  .appendQueryParameter("subject", subject)
                  .appendQueryParameter("body", body)
                  .build();
  
          List&lt;Photo&gt; photoList = new ArrayList&lt;&gt;();
          photoList.addAll(databaseHandler.getPhotos(qReport.getId()));
  
          Intent emailIntent = new Intent(Intent.ACTION_SENDTO, uri);
  
          Intent intentPick = new Intent();
          intentPick.setAction(Intent.ACTION_PICK_ACTIVITY);
          intentPick.putExtra(Intent.EXTRA_TITLE, getResources().getString(R.string.q_report_launch_mail_text));
          intentPick.putExtra(Intent.EXTRA_INTENT, emailIntent);
  
          for (Photo photo: photoList) {
              intentPick.putExtra(Intent.EXTRA_STREAM, Uri.parse(photo.getName()));
          }
  
          this.startActivityForResult(intentPick, REQUEST_CODE_MY_PICK);
  </code></pre>