REST Resource: users.drafts

Resource: Draft

A draft email in the user's mailbox.

JSON representation
{
 "id": string,
 "message": {
 object (Message )
 }
}
Fields
id

string

The immutable ID of the draft.

message

object (Message )

The message content of the draft.

Methods

create

Creates a new draft with the DRAFT label.

delete

Immediately and permanently deletes the specified draft.

get

Gets the specified draft.

list

Lists the drafts in the user's mailbox.

send

Sends the specified, existing draft to the recipients in the To, Cc, and Bcc headers.

update

Replaces a draft's content.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年03月24日 UTC.