sync-engine
sync-engine copied to clipboard
If a category name is truncated, IMAP syncback actions involving that folder will fail
This a rare case, but we truncate folder/label names when we save them to the database. Later on, syncback actions that involve a folder will query the category from the db and use its folder name to perform IMAP operations. Given that the name is truncated the operation will fail:
See: https://github.com/nylas/sync-engine/blob/master/inbox/actions/backends/generic.py#L83