Moved the setting of cc and bcc recipients to a public function, so recipients can be added by other functions