getting upto the point where we render an email template