public function handleEmailTemplates(ClientSurvey $client_survey): void 	{ 		// create default applicant emails for specific client survey 		$client_survey->handleApplicantAndClientEmailTemplates(function (string $language, EmailType $type) use ($client_survey) { 			$mail = EmailTemplate::base()->where('type', $type)->first();  			$client_survey->emailTemplates()->updateOrCreate([ 				'type' => $type->value, 			], [ 				'type' => $type->value, 				'content' => [ 					$language => $mail?->getTranslation('content', $language), 				], 				'subject' => [ 					$language => $mail?->getTranslation('subject', $language), 				], 			]); 		});  		if ($client_survey->survey_type->value == SurveyType::PULS->value) { 			$client_survey->handlePulsApplicantAndClientEmailTemplates(function (string $language, EmailType $type) use ($client_survey) { 				$mail = EmailTemplate::base()->where('type', $type)->first();  				$client_survey->emailTemplates()->updateOrCreate([ 					'type' => $type->value, 				], [ 					'type' => $type->value, 					'content' => [ 						$language => $mail?->getTranslation('content', $language), 					], 					'subject' => [ 						$language => $mail?->getTranslation('subject', $language), 					], 				]); 			}); 		} 	}