Changed regular expression format for message finished condition, on pop client. Now works with gmail in SSL. TSL still to be checked.