delete_message
Move an Outlook message to Deleted Items so it can be recovered until the folder is emptied; optionally keep it unread while removing it from the unread count.
Instructions
Move a message (by ref or raw id) to Deleted Items — recoverable from there until you empty it. Marks it read first (mark_as_read=False to keep it unread) so deleted mail doesn't linger in your unread count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | ||
| mark_as_read | No |