public function sendClientUpdatedDocumentsEmail(User $client, $documentType)
 {
     $template = $this->parameters['template']['client_updated_documents'];
     switch ($documentType) {
         case Document::TYPE_ADV:
             $documentStr = 'ADV';
             break;
         case Document::TYPE_INVESTMENT_MANAGEMENT_AGREEMENT:
             $documentStr = 'Investment Management Agreement';
             break;
         default:
             throw new ParameterNotFoundException($documentType);
     }
     $ria = $client->getMasterClientId() ? $client->getMasterClient()->getRia() : $client->getRia();
     $context = array('client' => $client, 'document_type' => $documentStr, 'ria' => $ria, 'logo' => $this->getRiaLogo($ria->getId()));
     $this->sendMessage($template, $this->parameters['from_email']['client_updated_documents'], $client->getEmail(), $context);
 }