Response
has_more is always false.
An email’s
folders lists fld_… ids. To know if an email is in the inbox, compare them with the id of the folder whose role is INBOX.
One folder
Create a folder
201) is the new folder object, and an email.folder.create event follows.
Rename a folder
id, and an email.folder.update event follows.
Delete a folder
Response
UNKNOWN (the user’s own folders) can be renamed or deleted. Inbox, Sent, Trash and other special folders get 400 errors/invalid_parameters.
Changes
Folders are kept in sync: folders the user creates, renames or deletes in their own email app show up on the next sync. Each change, made through the API or elsewhere, sends an event with the folder indata.folder:
The folders a new account already has don’t send events when it first syncs.