contactemail controller: try to functionalize things. finally, give up and follow recommendation to add a bunch of useless lines to fill up test coverage