fix #183, minor template change and email backend in dev settings