added support for cc and bcc recipients