private function _sendEditorNotificationEmail(Workflow_SubmissionModel $model)
{
$settings = craft()->workflow->getSettings();
$criteria = craft()->elements->getCriteria(ElementType::User);
$criteria->groupId = $settings->editorUserGroup;
$criteria->id = $model->editorId;
$editor = $criteria->first();
// Only send to the single user editor - not the whole group
if ($editor) {
craft()->email->sendEmailByKey($editor, 'workflow_editor_notification', array('submission' => $model));
}
}