fixed panic happening when trying to call res.Body.Close() on URLs that failed DNS resolution as reported by mcqueenorama. cleaned up error messages. fixed email credential check