added send email transport and some basic templating