curl: log errors with LOG_ERR
widgets: add unread count widget for IMAP mail servers

The default values are tested to work with GMail.