add mail controller spec and reach 80.22% coverage.