Read an Outlook.com email
Read one Outlook.com (outlook.live.com) message's details by its id (as returned by list_emails): subject, sender, recipient, date shown on the message, and body text. Opens the message in the current folder's reading pane.
Input
id requiredMessage id from list_emails (the row's id attribute)
folder optionalFolder the message lives in, as shown in the folder list
Default: "Inbox"Output
id requiredto requiredbody requireddate requiredsender requiredsubject requiredFAQ
List Outlook.com emails in a folder
List messages in an Outlook.com (outlook.live.com) mail folder (default Inbox). Returns each message's id (the join key for get_email), sender display name, subject, date label as shown in the list, and preview snippet, in the order the list shows them.
Move an Outlook.com email to a folder
Move one Outlook.com (outlook.live.com) message to another folder by its id (from list_emails). Any folder in your folder list can be the destination, named exactly as it appears there. The move is confirmed on both sides — the message must have left the source and arrived in the destination — and because Outlook gives a message a new id in its new folder, that new id is returned for any follow-up call. Taking a message out of Junk Email is confirmed automatically without accepting Outlook's offer to stop future mail from that sender being treated as junk. Drafts are not supported.
Delete an Outlook.com email
Delete one received Outlook.com (outlook.live.com) message by its id (from list_emails). Confirms the message is actually gone and that exactly one message was removed, rather than assuming the action worked, and then reports whether it is still recoverable: deleting from an ordinary folder files the message in Deleted Items, while deleting from Junk Email destroys it outright. When it is recoverable the id it now has in Deleted Items is returned. Drafts are not supported, because selecting a draft opens it in the composer. Deleting from Deleted Items is also refused, since that is permanent and Outlook gates it behind a confirmation dialog.
