Delete Mail
Deletes an email message.
This activity deletes email messages from a user-specified Outlook account using the Microsoft Graph Delete message API.
This activity can only be used after Get Mail Activity
Input
Connection Id:
GraphServiceClient Variable
Specifies the office 365 connection id.Account:
String Argument
Specifies an email address with which to interact. This property can include any shared mailbox to which the current user has access rights. If the property field is left empty, the current user's account is used. This is an optional property.Permanent Delete:
True
- The activity will permanently delete the email message from the user's account.False
- The email message will be deleted from the user-specified mailbox but can be restored from the Deleted Items.
Message:
Object Argument
Specifies the outlook message as Office365Message that is to be deleted. We can also specify the output variable of the Get Mail activity (which is an array) directly as input by providing its element. For example: Messages[1]
Last updated