Hey friends. it’s been a while, I am still working on our company app and I need the functionality to create a draft to respond to a specific email and save it to be sent later.
I don’t see any functionality in the current email/draft api to do that. Any help with that?
Hello hello, one of your friendly local docs team here.
I think you’d just create a draft as usual, and use the reply_to_message_id
from the message it’ll be a response to? Drafts by themselves have no send time instructions, so it gets saved to the user’s Drafts folder and you can send it later.
If you already know when you want to send it, you could use the Send message API, with use_draft
, send_at
, and the usual reply_to_message_id
. The use_draft
flag does just what it says on the tin - saves the message in the user’s Drafts folder.
1 Like
Hey @SansContext, Thanks a lot for being so helpful.
1 Like