Skip to main content

Search an email in Gmail

Wrk Product avatar
Written by Wrk Product
Updated this week

Search your email in GmailQuery Documentation: [Refine searches in Gmail - Computer - Gmail Help ](https://support.google.com/mail/answer/7190)

Application

  • Communication

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Gmail credentials

The connected account to use for the request

Connected Account

Yes

Query

Only return messages matching the specified query. Supports the same query format as the Gmail search box

Text (Long)

Yes

from:someuser@example.com rfc822msgid:

is:unread

Email address

The Email address you would like to search in. Defaults to β€˜me’

Email

No

Maximum number of results

Default: 100

Number

No

10

Label IDs

List of IDs of labels to search by

Text (Long)

No

sent, important

Include spam and trash?

Indicates if the spam and trash folders should be included in the search

True/False

No

true

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Gmail message ID

Gmail's unique ID for the sent message

Text (Short)

No

Gmail thread ID

Gmail conversation thread ID

Text (Short)

No

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

No result

This status is selected if the job has successfully completed but no result was produced.

Requirements

  • N/A

Did this answer your question?