Capability Sources

Read a Gmail message with its plain-text body as the calling member

Changed on

Reads one Gmail message, including decoded plain-text body content and attachment metadata, using the calling member's connected Google Workspace account. To download an attachment's bytes, pass its attachmentId to the gmail-attachment capability.

get/v1/capabilities/google-workspace/gmail-message/{messageId}

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

messageId, string required

Gmail message id.

Response

Gmail message returned.

GoogleWorkspaceGmailMessageResponse required
ok, true required
message, GoogleWorkspaceGmailMessage required

Changes

    • info

      added the required property message/bodyTruncated to the response with the status

    • info

      added the required property message/cc to the response with the status

    • info

      added the required property message/internalDate to the response with the status

    2 more changes in this revision