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.
Try this:
https://mail.google.com/mail?authuser=me@gmail.com#all/{message_id}
Just replace {message_id} with the actual ID string.
来源:https://stackoverflow.com/questions/24548210/is-there-an-url-to-open-the-gmail-compose-window-with-a-specific-message-id-in-f