Remove views of user and set mail config