This is specific to Exchange accounts, this can also result in mail objects not deleting but instead returning to the inbox. The Deletions
folder is a "system" folder that will hold soft-deleted messages. See Recoverable Items folder in Exchange Online.
We would recommend not using Deletions
and instead use another folder where the attribute name (aka role) == trash
.
This folder will typically have a display_name
similar to trash / delete items
, different countries have different names.
Example:
{
"account_id": "beuw0xxxxxqa85lg1dv",
"display_name": "Verwijderde items",
"id": "dca93ki4xxxxxxeac1rv4g",
"name": "trash",
"object": "folder"
},
Resources:
https://developer.nylas.com/docs/api#put/labels/id
Updated
Comments
0 comments
Please sign in to leave a comment.