Skip to main content

drafts

Overview

Namedrafts
TypeResource
Idgoogleworkspace.gmail.drafts

Fields

NameDatatypeDescription
idstringThe immutable ID of the draft.
messageobjectAn email message.

Methods

NameAccessible byRequired ParamsDescription
users_drafts_getSELECTid, userIdGets the specified draft.
users_drafts_listSELECTuserIdLists the drafts in the user's mailbox.
users_drafts_createINSERTuserIdCreates a new draft with the DRAFT label.
users_drafts_deleteDELETEid, userIdImmediately and permanently deletes the specified draft. Does not simply trash it.
users_drafts_sendEXECuserIdSends the specified, existing draft to the recipients in the To, Cc, and Bcc headers.
users_drafts_updateEXECid, userIdReplaces a draft's content.