Note: 
  • Use and transfer of information received from Google APIs to any other app will adhere to Google API Services User Data Policy, including the Limited Use requirements.

  • In accordance with the Nintex Privacy Policy, Nintex Services do not retain any information obtained from third party services.

Google Mail - Get a message

Use the Google Mail - Get a message action to retrieve the details, such as message ID and thread ID, of a specific message from a user's mailbox.

For more information about the Google Mail connector, go to Google Mail.

Configure the Google Mail - Get a message action

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.

  1. Select a Connection. If you do not have a connection, see Add a connection.
  1. Specify an Email address for the user.
  2. Type the Message ID for the message you want to retrieve.
  3. Create or select a variable for the output.

Google Mail - Get a message action fields, buttons, and settings

Section

Field

Description

Variable types

(unlabeled) Connection The Google Mail connection to use to retrieve a message from the user's mailbox.

To refresh the available connections, click .

(n/a)
  Email The email address of the user for whom you want to retrieve a message. The default value "me" shows the authenticated user. If you want to select another user, insert a variable in the Email field. When using a variable, use the user's email address. Text, Decimal, Integer, Boolean, DateTime, Collection
  Message ID The ID of the message you want to retrieve. You can use a Google Mail - Get messages action to retrieve message IDs.  Text, Decimal, Integer, Boolean, DateTime, Collection
Output Message Stores the result of the action as an object. The following values are retrieved:
  • ID: (Text) The ID of the message.
  • Thread ID: (Text) The ID of the thread the message belongs to.
  • Snippet: (Text) A short part of the message text.
  • History ID: (Text) The ID of the last history record that modified the message.
  • Payload: (Object) An object containing:
    • Headers: (Collection) A collection containing:
      • Name: (Text) The name of the header before the : separator. For example, To.
      • Value: (Text) The value of the header after the : separator. For example, someuser@example.com.
Object