GMAIL · ACTION
Get Message
Get one declared Gmail message projection from the exact connected mailbox.
gmail-get-message
WriteInputs
- Provider message IDstringRequired
messageId
- Include message bodybooleanRequired
includeBody
Output
{ schemaVersion: 1; provider: "google-gmail"; outcome: "complete" | "empty" | "partial" | "stale" | "unauthorized" | "forbidden" | "throttled" | "unavailable" | "malformed-provider"; mailbox?: { id: string; address: string }; data?: { providerMessageId: string; providerConversationId?: string; internetMessageId?: string; references?: string[]; historyId?: string; labelIds: string[]; subject?: string; bodyPreview?: string; body?: { contentType: "text" | "html"; content: string }; from?: { address: string; name?: string }; sender?: { address: string; name?: string }; replyTo: { address: string; name?: string }[]; to: { address: string; name?: string }[]; cc: { address: string; name?: string }[]; bcc: { address: string; name?: string }[]; sentAt?: string; receivedAt?: string; hasAttachments: boolean; isRead?: boolean; }; nextCursor?: string; error?: { code: "complete" | "empty" | "partial" | "stale" | "unauthorized" | "forbidden" | "throttled" | "unavailable" | "malformed-provider"; message: string; retryAfterSeconds?: number }; evidence: { provider: "google-gmail"; operation: "search" | "message" | "conversation" | "attachment"; observedAt: string; providerRequests: number; durationMs: number; evidenceRefs: string[]; }; }
CONTINUE
Use this in a workflow
Add Get Message to a Process.co workflow and connect it with Gmail and your other tools.
Get started