fixed issue with wrong null checking of CC and BCC strings in Mail class