renamed email template
added send mail
final mysql template added