Trigger saving draft in Gmail

158 views
Skip to first unread message

mykyta....@dev-pro.net

unread,
Jan 18, 2019, 5:42:28 AM1/18/19
to InboxSDK
In our case we are doing `composeView.getDraftID().then` and it waits until the actual draft is created, and it can take a for a quite long time until Gmail decide to save draft.
For our business case, it is required to save the draft before sending the mail or closing the compose window. 
We used to insert an empty character into the body of the compose window and for some cases in the triggered saving draft, but this doesn't really work in all of the cases, and seem to be really unstable.

Can we somehow accomplish a controlled draft saving using inboxsdk or some workaround? This could help us a lot.

Best,
Nick

Ahmad

unread,
Jan 18, 2019, 8:50:59 AM1/18/19
to InboxSDK
We also desperately require this. Any solutions or workarounds appreciated.

jody...@salesloft.com

unread,
Jan 24, 2019, 12:26:41 PM1/24/19
to InboxSDK
We are also experiencing this issue and would greatly appreciate an update!

Ahmad

unread,
Mar 30, 2019, 9:46:34 AM3/30/19
to InboxSDK
Hello InboxSDK team,

Any thoughts about this? I noticed that `setHTMLBody` and `insertHTMLIntoBodyAtCursor` both trigger a draft save. I tried `$(view.getHTMLElement).trigger("input");` but that didn't do anything.

Would be great if you can share how InboxSKD is able to trigger draft save under the hood.

Thanks,
Ahmad 
Message has been deleted

Smoothe Parks

unread,
Jul 16, 2019, 5:21:49 PM7/16/19
to InboxSDK
Reply all
Reply to author
Forward
0 new messages