updated discount calculation for email message