Good point. It is important to know that db is open only by one application. Let me depict my procedure: 0. Make sure that IMAP configuration works and SMTP is broken = you can get messages but can not send 1. Close jolla-email and settings apps (important!) 2. Make sure that in "/home/nemo/.config/libaccounts-glib" there is only "accounts.db". If there is -shm/-wal file, probably some app is connected to db 3. backup "account.db" :-) 3. open "account.db" in sqlitebrowser 4. determine ID of broken account 5. find row with id = <broken account ID>, key = "emailaddress" in "Settings" table. Value should be <IMAP user name>, e.g. xxx 6. change value to your real email address e.g. xxx@yyy.com 7. save data 8. open jolla-email and try to send message