google api - Can I get a URL link to a Gmail draft using the Gmail API? -


the new gmail api allows create , view drafts, there way url link view draft?

i can manually create link using draft's threadid this:

https://mail.google.com/mail/u/0/#drafts?compose={threadid}

but fragile if google decides change how urls structured. don't know if url different people in other countries. 0 change depending on how many accounts logged in browser. there better way link creating manually am?

also, there way pass authentication information along url user logged in when going webpage? i'm assuming there no way this, wanted check. if user not logged in, draft link brings login page , draft not displayed after logging in.

no, creating url manually best option. can drop u/0/ if want , gmail automatically use first authenticated account.

no, there not way automatically sign user gmail.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -