title: Android: Using email intent to send email, possible to alter message just before sending?
body: <p>I'm using:</p>
  
  <pre><code>Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
  </code></pre>
  
  <p>to send email, I need to add some footer to the message, is there any listener or some way that I can edit the message when user clicks "send"?</p>
  
  <p>Thanks!</p>
  
  <p>Edit:</p>
  
  <p>below is the code I used:</p>
  
  <pre><code>private void sendEmail(String recipient, String subject, String message) {
      try {
          final Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
          emailIntent.setType("plain/text");
          if (recipient != null)  emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{recipient});
          if (subject != null)    emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject);
          if (message != null)    emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, message);
  
          startActivity(Intent.createChooser(emailIntent, "Send mail..."));
  
      } catch (ActivityNotFoundException e) {
          // cannot send email for some reason
      }
  }
  </code></pre>
  
  <p>There is no field like:</p>
  
  <pre><code>android.content.Intent.EXTRA_EMAIL
  </code></pre>
  
  <p>which lets me supply information to the intent.</p>