postalsys/emailengine

When i delete a mailboxe, the mailbox continue to be listed, and i can't resync the account

PaulRichez opened this issue · 3 comments

Describe the bug
When we delete a mailboxe , we cant sync the account, fail every time

To Reproduce

  1. Create new account
  2. Create a new folder(mailboxe)
  3. delete this mailboxe

Expected behavior
When i delete a mailboxe , i dont want the mailboxe continue to be listed in mailboxe list endpoint

Screenshots
image
image

Additional context
When we delete a mailboxe, the folder is already in the list of mailboxe and we can't resync the account
BTW , i used endpoind

Useful informations => No webhook for Mailbox (new folder, folder deleted) before resync the account, when other event are okay

I was able to verify this error, so I'll look into it.

Should be fixed in the latest release.