CRM-13873 correct permission values; handle TO/CC emails params