Extract Velocity code from EmailNotificationService

Allows for easier testing while trying to track down the random engineering notation that creeps into some emails.