Fixed some errors when editing user mail accounts