add exception as blob in email and fix velocityEngine properties