Ensure that correct setters are used for cc and bcc map entries.

setTo was used for 'cc' and 'bcc' map entries instead of setCc and setBcc
Changed use of collections when map values are single entries.