original_string: protected function buildEmail($number, OutgoingMessage $message)
      {
          if (!$number['carrier']) {
              throw new \InvalidArgumentException('A carrier must be specified if using the E-Mail Driver.');
          }
  
          return $number['number'].'@'.$this->lookupGateway($number['carrier'], $message->isMMS());
      }
code: protected function buildEmail($number, OutgoingMessage $message)
      {
          if (!$number['carrier']) {
              throw new \InvalidArgumentException('A carrier must be specified if using the E-Mail Driver.');
          }
  
          return $number['number'].'@'.$this->lookupGateway($number['carrier'], $message->isMMS());
      }
code_tokens: protected function buildEmail ( $ number , OutgoingMessage $ message ) { if ( ! $ number [ 'carrier' ] ) { throw new \ InvalidArgumentException ( 'A carrier must be specified if using the E-Mail Driver.' ) ; } return $ number [ 'number' ] . '@' . $ this -> lookupGateway ( $ number [ 'carrier' ] , $ message -> isMMS ( ) ) ; }
docstring: Builds the email address of a number.
  
  @param array                                $number
  @param SimpleSoftwareIO\SMS\OutgoingMessage $message
  
  @return string
docstring_tokens: Builds the email address of a number .