implemented test for template email
merged vincent's mail templates