Get email details in Gmail Connector(Power Automate Cloud flows)

Japanese version.

This action retrieves information such as the destination and body of a Gmail message.

However, they are "When a new email arrives" triggers.

The use is limited because the information has already been obtained.

How to use

Select the "Gmail" connector when adding steps to the flow.

If you have not set up your login information, you will need to set up your Google account here.

Select the "Get email details" from the "Action" menu.

Set Parameters.

In subsequent steps, the email information can be retrieved as dynamic content.

When retrieving the email, though, you specify the message ID, The "When a new email arrives" trigger is the action to retrieve it.

But at the point of dynamic content of the "When a new email arrives" trigger, The same information can be retrieved as in the "Get email details" action.

Therefore, there is no point in conjunction with the "When a new email arrives" trigger.

A good use of the "Get email details" action is to save the "Message ID" retrieved by the "When a new email arrives" trigger, for example, in Excel or Google Spreadsheet, and retrieve the email details later based on it. The case of "When a new email arrives" trigger is a good example of this.

Dynamic contents

The dynamic content available in the subsequent steps is as follows.

Mainly retrieves information about the target mail for step.

The following is a selection of the most practical.

Message Id

Unique identifier of the mail. Used if a subsequent action will perform some operation on the target mail.

From, To, CC, BCC

Their respective email addresses.

Subject, Body, Snipet

The text information of the email.

Example of saving to file.

Estimated size

Estimated file size of the email.

Is Read?

  • TRUE: Opened
  • FALSE: Unopened

Has Attachments

  • TRUE: Attachments are present.
  • FALSE: No file is attached.

Attachments Name, Attachments Content

The information of the attached file.

The file is in an Array Requires an "Apply to each" to retrieve it.

Example of saving to file.

Is HTML

Boolean information on whether it is an HTML email.

  • HTML email:true
  • Text email:false

For those who want to learn Power Automate Cloud flow effectively

The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Cloud flow to streamline your workflow.

Links

Gmail Connector(Power Automate Cloud flows)