[WO-421] add imap/smtp settings to the db update