fix proxy error issue when no email is found