Closed Jivings closed 1 month ago
Yes, the behavior depends on the specific backend and how changes are propagated by the mail servers. When EmailEngine returns a response to an API request, it indicates that it has received confirmation from the mail backend. However, this does not guarantee that the changes are immediately or universally available across all clients or services. There may be a delay before the new mailbox folders are accessible.
Currently if you do an operation immediately after creating a mailbox then it fails with a 404 as the mailbox doesn't yet exist. If we wait a second before the second operation then it works fine.
So maybe we need to check a mailbox exists after creation with a backoff :)
Code to recreate: