Protected
apiProtected
_createProtected
_destroyProtected
_findProtected
_getProtected
_getProtected
_listProtected
_updateProtected
_updateCreate a Folder
The created folder
Delete a Folder
The deleted Folder
Return a Folder
The folder
Return all Folders
A list of folders
Update a Folder
The updated Folder
Generated using TypeDoc
Nylas Folder API
Email providers use folders to store and organize email messages. Examples of common system folders include Inbox, Sent, Drafts, etc.
If your team is migrating from Nylas APIv2, there were previously two separate endpoints for interacting with Folders (Microsoft) and Labels (Google). In Nylas API v3, these endpoints are consolidated under Folders.
To simplify the developer experience, Nylas uses the same folders commands to manage both folders and labels, using the folder_id key to refer to the folder's ID on the provider. The API also exposes provider-specific fields such as background_color (Google only).
Depending on the provider (Google, some IMAP providers, etc.), a message can be contained in more than one folder.