[email-notice] add avatar/msg-detail to email content
[notice email] improved ui & code, fixed bug, cleaned up code
Merge branch '3.1'