Capability Sources
Read a Gmail message with its plain-text body as the calling member
Changed onReads 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 URLhttps://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.
Google Workspace Gmail Message Response required
ok, true required
message, Google Workspace Gmail Message required
Changes
- info
added the required property
message/bodyTruncatedto the response with the status - info
added the required property
message/ccto the response with the status - info
added the required property
message/internalDateto the response with the status
2 more changes in this revision
- info