18
votes

I use the new Gmail API to create a draft for my user. The API response provides the newly created message ID.

I can then open the compose window with the URLhttps://mail.google.com/mail/#drafts?compose=[message-id]. However I would like to open a full-screen (popped-out) compose window. Is there an URL for that ? This URL must of course be parameterised with the message id.

To be more precise, this is what I get, and this is what I want.

1
What language do you use?Artem Volkhin
I use C#, but my problem does not seem to be language related.cao
@DaniSpringer No, I known how to open a compose window for a new message, what I need is to open a compose window for an existing message.cao

1 Answers

6
votes

Try this:

https://mail.google.com/[email protected]#all/{message_id}

Just replace {message_id} with the actual ID string.