`msg['To'] = 'a,b <ab@example.com>` will produce error, because comma separates recipients and must be escaped within one recipient.