MT#5879 Fix UTF-8 email send. Further fix of memory usage issue.