/**
  * Find a member profile by email
  *
  * @param string $email
  *
  * @return Member
  * @throws \Exception
  */
 public function findByEmail($email)
 {
     if (empty($email)) {
         throw new \Exception('Member email is required.');
     }
     return $this->manager->getMemberService()->findByEmail($email);
 }
 /**
  * Upload a file that contain a batch of members
  * 
  * @param MemberFileImport $memberFileImport
  */
 public function uploadFile(MemberFileImport $memberFileImport)
 {
     $this->manager->getImportMemberService()->uploadFile($memberFileImport);
 }
 /**
  * Send transactional email
  *
  * @param TransactionalEmail $tEmail
  */
 public function send(TransactionalEmail $tEmail)
 {
     $this->manager->getNotificationService()->send($tEmail);
 }