public function sendReconfirmationMessage(User $user, Token $token) {
    if ($token->type == Token::TYPE_CONFIRM_NEW_EMAIL) {
      $email = $user->unconfirmedEmail;
    } else {
      $email = $user->email;
    }

    return $this->sendMessage($email,
      $this->getReconfirmationSubject(),
      'reconfirmation',
      ['user' => $user, 'token' => $token]
    );
  }