Gmail Automation - Get Mail Details

GetMailDetails

When to use the GetMailDetails Activity

Use this activity to extract details from the email messages.

Figure 1

1

When you use the ReadMail activity, the output will be a list of mail messages, and user cannot get the details. Such as (To, From, Subject, Body, etc.) from a message directly. They need to parse the message to a MIME kit for getting those details. Thus, use the GetMailDetails from the Gmail automation package to extract details from the mail messages. 

First drag and drop a Read Mail activity inside the Gmail Scope and fill all details in the property window.

Figure 2

2

After creating a workflow with the Read Mail activity, Drag and drop a GetMailDetails and attach it (1). Pass the List of message variable name of the Read Mail activity, along with the Mail # in the Mail Message field in the property window of the GetMailDetails (2). All output fields in the GetMailDetails supports string variables.

Figure 3

2

You can use a write log activity (3) to write individual details such as Body, (4) or from address and so on and so forth in the Input String of the write log activity. Execute (5) to extract details from the specified mail.

Figure 4

3

Technical Reference

Figure 5

4

NoteIn the Input, in Mail Message field, specify the output from Read Mail activity along with the number of the mail from which you require details. It reads from newest to the oldest mails. 0 will be considered as the first mail.

Version
1.0.0