Multiple trash folders, which do I use?

Chris Aylott
Chris Aylott
  • Updated

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 

 

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.