Ability to use custom discount email templates. Bug corrected.