The role of Wentzell boundary conditions in linear and nonlinear analysis