Fixed mail template cause client crashed. close #26.