Skip to main content

Get Gmail Message (deprecated)

danger

This action has been deprecated and will no longer be available in new workflows.

Gets the specified message.

External Documentation

To learn more, visit the Gmail documentation.

Basic Parameters

ParameterDescription
Message IDThe ID of the message to retrieve. This ID is usually retrieved using messages.list. The ID is also contained in the result when a message is inserted (messages.insert) or imported (messages.import).
User IDThe user's email address. The special value me can be used to indicate the authenticated user.

Advanced Parameters

ParameterDescription
Delegated User OverridePerform the action on behalf of another user, overriding the delegated user defined in the connection.

If not specified, the delegated user is the one provided in the connection.

Has no effect when using an OAuth connection.

NOTE: the connection details are not edited by this input.

Example Output

{
"id": "18476a3a2a1f3e2d",
"threadId": "18476a3a2a1f3e2d",
"labelIds": [
"SENT",
"INBOX"
],
"snippet": "",
"payload": {
"partId": "",
"mimeType": "text/plain",
"filename": "",
"headers": [
{
"name": "Return-Path",
"value": "<mail@blinkops.com>"
},
{
"name": "Received",
"value": "From Received"
},
{
"name": "From",
"value": "Test Blink <mail@blinkops.com>"
},
{
"name": "Content-Type",
"value": "text/plain"
},
{
"name": "Content-Transfer-Encoding",
"value": "7bit"
},
{
"name": "Mime-Version",
"value": "1.0"
},
{
"name": "Subject",
"value": "2"
},
{
"name": "Message-Id",
"value": "<86DB9F5C-5F94-4C66-B34E-8AB46B757AEE@blinkops.com>"
},
{
"name": "Date",
"value": "Mon, 14 Nov 2022 16:55:45 +0200"
},
{
"name": "To",
"value": "Test <mail@blinkops.com>"
},
{
"name": "X-Mailer",
"value": "Mail Application"
}
],
"body": {
"size": 0,
"data": ""
}
},
"sizeEstimate": 713,
"historyId": "63344",
"internalDate": "1668437745000"
}

Workflow Library Example

Detect and Respond to Gmail Email Phishing

Workflow LibraryPreview this Workflow on desktop