title: How can I use the Note To Self intent from Google Now?
body: <p>I know its not best practice, but i want to use thr Note To Self intent to send an email in the background. I found an AUTO_SEND intent that Keep uses, but I can't seem to open Gmail or Keep with it - they don't show in the activity picker, only Evermore and Notif do.</p>
  
  <p>Here's what I'm currently trying: </p>
  
  <pre><code>    Intent mailClient = new Intent("com.google.android.gm.action.AUTO_SEND");
      mailClient.setClassName("com.google.android.gm", "com.google.android.gm.AutoSendActivity");
      startActivity(mailClient);
  </code></pre>
  
  <p>However, I'm still getting an error -</p>
  
  <pre><code>04-12 15:06:28.393: W/ActivityManager(443): Permission Denial: starting Intent { act=com.google.android.gm.action.AUTO_SEND cmp=com.google.android.gm/.AutoSendActivity } from ProcessRecord{41adee50 11298:com.email_to_self/u0a10113} (pid=11298, uid=10113) requires com.google.android.gm.permission.AUTO_SEND
  </code></pre>
  
  <p>I added the permission into my manifest by doing</p>
  
  <pre><code>&lt;uses-permission android:name="com.google.android.gm.permission.AUTO_SEND"&gt; 
  </code></pre>
  
  <p>But the problem persists. Any ideas?</p>