Google Apps Script API
    Preparing search index...

    A user-created draft message in a user's Gmail account.

    interface GmailDraft {
        deleteDraft(): void;
        getId(): string;
        getMessage(): GmailMessage;
        getMessageId(): string;
        send(): GmailMessage;
        update(recipient: string, subject: string, body: string): GmailDraft;
        update(
            recipient: string,
            subject: string,
            body: string,
            options: GmailAdvancedOptions,
        ): GmailDraft;
    }
    Index

    Methods