Mail includes activities for sending, receiving, and managing emails, enabling automation to interact with email services for tasks such as composing, reading, and organizing messages.
The Outlook category has the following sub activities:
Get Outlook Mail Messages: This activity is used to retrieve emails from Outlook.
Input Properties:
Account– Enter the email ID of the account from which you want to retrieve the mail messages.
MailFolder– Enter the name of the folder from which the specified mails are to be retrieved.
Options Properties:
Filter– Specify a filter string to narrow down the messages to be retrieved.
MarkAsRead– Select this checkbox to mark the retrieved messages as read.
OnlyUnreadMessages– Select this checkbox to retrieve only unread messages.
NewestFirst– Select this checkbox to retrieve the newest messages first.
Top– Specify the number of messages to retrieve from the top of the list.
Output Properties:
Messages– Stores the retrieved emails as a collection of MailMessage objects.
Move Outlook Mail Message: This activity moves Outlook mail to a specified folder.
Input Properties:
Account– Specify the mail ID of the account from which messages are to be moved.
MailFolder– Specify the name of the folder to which the emails should be moved.
MailMessage– Specify the MailMessage object that you want to move.
Send Outlook Mail Message: This activity allows the users to send and forward mail from a specified Outlook account.
Attachments:
Attachments– Specify the file paths (as an array) of the attachments to be included in the email.
Email:
Body– Enter the body content of the email message you want to send.
Subject– Enter the subject line of the email message you want to send.
IsBodyHtml– Select this option if the body of the email message is in HTML format.
MailMessage– The MailMessage object that contains the email to be forwarded.
Receiver:
To– Enter the email addresses of the primary recipients. You can specify multiple addresses separated by commas.
Bcc– Enter the hidden recipients of the email message.
Cc– Enter the email addresses of recipients to receive a copy of the email.
Input Properties:
Account– Specify the email ID of the account from which you want to send the message.
SendOnBehalfOfName– Specify the email address on whose behalf the email is sent.