Contents

Gmail Create Draft

GmailCreateDraftTool · Tools · Connections

Create a Gmail draft without sending it: a new message to `to` under `subject`, or a reply in a message's thread when `reply_to_email_id` is given (leave `to` and `subject` empty then). Returns the draft id.

Parameters

NameTypeRequiredDescription
attachmentsany[]NoFiles to attach.
body_htmlstringNoAn HTML body, beside the plain text.
body_textstringNoThe plain-text body.
from_emailstringNoAn accepted send-as alias to send from; the account's default sender when omitted.
from_namestringNoA display name for the sender.
reply_to_email_idstringNoThe id of a message to draft a reply to. Its recipient, subject and thread are inherited.
subjectstringNoThe subject of a new message. Leave empty for a reply draft, which keeps the original's.
tostring[]NoThe recipients of a new message. Leave empty for a reply draft.