email settings and erro log