beautify UI and support java mail