GetMailDetails

Estimated reading: 2 minutes 2193 views

This activity helps the user extract mail details from the specified Gmail account. Ensure it is used within the ‘GmailScope’.

Properties

INPUT

MailMessage: * Indicates to provide the “MailItem” variable (which will be declared in the “Read Mail” activity) to extract the emails from the provided “list”.

MISC

DisplayNameDisplays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnErrorSpecify the “Boolean” value as “True” or “False.”
True: Continue executing the workflow regardless of any errors thrown.
False:
 Halt the workflow if it encounters any errors.
None:
 If the option is left blank, the activity will, by default, behave as if “False” were chosen.
Version
It indicates the version of the feature being used.

OUTPUT

Body: This parameter enables to view the “Body” of the mail as an output of the activity in the “String” datatype, extracted from the email.

Date: This parameter enables to view the “Date” as an output of the activity in the “String” datatype, extracted from the email.

FromAddress: This feature enables you to view the “FromAddress” as an output of the activity in the “String” datatype, extracted from the email.

Result: It provides the ability to view the execution status of the activity. It returns values in “Boolean.”
True: Indicates that the activity has been executed successfully without any errors.
False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

MailSubject: It helps to view the output of the activity as “MailSubject” extracted from the mails. This field returns the values in the “String” datatype.
ToAddress: It helps to view the output of the activity as “ToAddress” extracted from the mails. This field returns the values in the “String” datatype.

Represents mandatory fields to execute the workflow. 

Prerequisites

1. The Gmail automation allows the following actions:
a. Extracting emails
b. Sending emails
c. Replying to emails
d. Moving emails
e. Reading emails
f. Saving emails

2. The bot must authenticate the specified Gmail account for secure access.
3. The KeyPath within the Gmail scope is required to grant the bot appropriate permissions.
4. The KeyPath must be provided in JSON format, containing the necessary credentials and configuration for authentication.
5. Proper setup of these prerequisites ensures smooth interaction with the Gmail account and allows the bot to perform the required actions effective

Share this Doc

GetMailDetails

Or copy link

CONTENTS