added mail settings & user permissions