nearly complete handling for mailaddress-editing, improvements for the functions (contextPath automatically set in the controller by calling the template)