完善邮件发送，增加问候功能，优化代码

Signed-off-by: kingbird <jiapumin@163.com>