Updated email template
Modified send function