fix json encoding bug
change unit test
add recipient controller test case and fix bug
add mail service test