implement email setting and some comment