Sample template scaffold replacing db attributes and send email anyway