MailService与数据库事务集成；调整MailService的UT测试代码为手工模式

Signed-off-by: xautlx <xautlx@hotmail.com>