[bug 839139] Convert last email to jinja2 and use jingo.Loader.
[bug 775316] Upgrade to jingo 0.6.1 and replace jingo.render calls.
Some cleanup