How can i get any number of email which number i pass

“Get Outlook Message” Having property “Top”. Any number i assign to this “Top” property email load in variable from starting email to provided number. But i want this activity load only one email which random number i provide.
Ex. If i provide 11 then only one 11th mail get load in variable by using “Get Outlook Message” activity.

Hi use for each item in mail

Use item(11). ToString



Top property of Get Outlook MailMessage Activity won’t support that kind of feature. It will read mails from top to bottom of specified number in this field.

If you set 5 to Top then it will read top 5 mails from mailbox.

This Activity will give output as List of Mail Messages. You can apply your random function to this list to read random mail.