public async Task <bool> SendWhitelistIpEmailAsync(IPAddress connectionIp, User user, string baseUrl) { var token = _jsonWebTokenService.CreateWhitelistIpValidationToken(user, connectionIp); var emailRequest = CreateValidationWhitelistIpRequest(user, token); return(await SendEmailAsync(emailRequest)); }