modify some layout
add mail function