Added IMAP-reconnetion if connection was lost, changed
comment_exists-function