Report building with FreeMarker and email sending