ADD: error and success messages for imap