fix liskov substitution principle in admin mail template settings

@libasys @PVince81 @Raydiation fixes #8997