some smtp gateways do not accept empty emails in the form of two or more commas when sending to multiple emails. this is easy to appear in workflow email task so this patch checks for this case and makes sure that two or more commas are not sent