mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 02:28:15 +03:00

The intent to remove the account is stored in the database. At startup, if there are any such referenes, they are applied by removing the account directories and the entry in the database. This ensures the account directory is properly removed, even on incomplete shutdown. Don't add an account when its directory already exits.