public function dispatch(): void 	{ 		$recipients = $this->getRecipients();  		/** 		 * @var Applicant $recipient 		 */ 		foreach ($recipients as $recipient) { 			try { 				/** 				 * @var \App\Services\Emails\Factories\ApplicantNotificationEmailFactory|\App\Services\Emails\Factories\ApplicantReminderEmailFactory|\App\Services\Emails\Factories\ApplicantReminderPulsEmailFactory|Factories\ApplicantInvitationEmailFactory|Factories\ApplicantInvitationPulsEmailFactory 				 */ 				$factory = $this->getEmailDataFactory($recipient);  				$emailTemplate = $factory->getMailTemplate();  				DispatchEmail::dispatchSync($emailTemplate, $recipient->email, $factory->getCallback()); 			} catch (Exception) { 				if (request()->wantsJson()) { 					throw new Exception; 				} 			} 		}  		$recipient_count = $recipients->count();  		if ($recipient_count) { 			$clientSurveyNotificationService = new ClientSurveyNotificationService;  			$clientSurveyNotificationService->logEmailActivity($this->clientSurvey, $this->dataObject->getEmailType(), count: $recipient_count); 		} 	}