Google Apps Script API
    Preparing search index...

    A message in a user's Gmail account.

    interface GmailMessage {
        createDraftReply(body: string): GmailDraft;
        createDraftReply(body: string, options: GmailReplyOptions): GmailDraft;
        createDraftReplyAll(body: string): GmailDraft;
        createDraftReplyAll(body: string, options: GmailReplyOptions): GmailDraft;
        forward(recipient: string): GmailMessage;
        forward(recipient: string, options: GmailAdvancedOptions): GmailMessage;
        getAttachments(): GmailAttachment[];
        getAttachments(options: GmailAttachmentOptions): GmailAttachment[];
        getBcc(): string;
        getBody(): string;
        getCc(): string;
        getDate(): GoogleAppsScript.Base.Date;
        getFrom(): string;
        getHeader(name: string): string;
        getId(): string;
        getPlainBody(): string;
        getRawContent(): string;
        getReplyTo(): string;
        getSubject(): string;
        getThread(): GmailThread;
        getTo(): string;
        isDraft(): boolean;
        isInChats(): boolean;
        isInInbox(): boolean;
        isInPriorityInbox(): boolean;
        isInTrash(): boolean;
        isStarred(): boolean;
        isUnread(): boolean;
        markRead(): GmailMessage;
        markUnread(): GmailMessage;
        moveToTrash(): GmailMessage;
        refresh(): GmailMessage;
        reply(body: string): GmailMessage;
        reply(body: string, options: GmailAdvancedOptions): GmailMessage;
        replyAll(body: string): GmailMessage;
        replyAll(body: string, options: GmailAdvancedOptions): GmailMessage;
        star(): GmailMessage;
        unstar(): GmailMessage;
    }
    Index

    Methods