code: function sendEmailToServer(formName){
    var email = $('#' + formName + ' [name=ep_email]').val();
    var userId = pad.getUserId();
    var message = {};
    message.type = 'USERINFO_UPDATE';
    message.userInfo = {};
    message.padId = pad.getPadId();
    message.userInfo.email = email;
    message.userInfo.email_option = $('#' + formName + ' [name=ep_email_option]').val();
    message.userInfo.email_onStart = $('#' + formName + ' [name=ep_email_onStart]').is(':checked');
    message.userInfo.email_onEnd = $('#' + formName + ' [name=ep_email_onEnd]').is(':checked');
    message.userInfo.formName = formName;
    message.userInfo.userId = userId;
    if(email){
      pad.collabClient.sendMessage(message);
    }
  }
docs: Ask the server to register the email