OptionalattributesCommon attribute descriptors shared by system folders across providers.
For example, Sent email folders have the ["\\Sent"] attribute.
For IMAP grants, IMAP providers provide the attributes.
For Google and Microsoft Graph, Nylas matches system folders to a set of common attributes.
Optionalbackground(Google only) Folder background color.
Optionalchild(Microsoft only) The number of immediate child folders in the current folder.
Grant ID of the Nylas account
A globally unique object identifier.
Folder name.
The type of object.
Optionalparent(Microsoft only) ID of the parent folder.
Optionalsystem(Google only) Indicates if the folder is user created or system created.
Optionaltext(Google only) Folder text color.
OptionaltotalThe number of items inside of a folder.
OptionalunreadThe number of unread items inside of a folder.
Interface of a folder object from Nylas.