Prepare Main/Email definition for mongoose