refine smtp settings