How to open a particular message/conversation in the Gmail app
<p>I am trying to programmatically open an individual email in the Gmail app on Android.</p>

<p>I know it can be done because the built-in notifications send you to a message when you click on them and there's an app on the market called Gmail Notifier which does it as well.</p>

<p>What I've tried so far:</p>

<p>-send an ACTION_VIEW intent with the message URI as data (failed - cannot resolve URI)</p>

<p>-send an intent to open HtmlConversationActivity in the Gmail package (failed - "requires permission: null")</p>

<p>Would it help to add flags or a category to the intent? If so, which one(s)?</p>

<p>I know that the Gmail app is not well-documented, but it drives me mad that there is definitely a way to do it and I just can't figure it out!</p>

<p>P.S.: This is the first time I'm posting on stackoverflow, so I apologise in advance if I have ignored any conventions.</p>
