[2729] ArithmeticException in Emails.sendEmails

Fixed
One line format is better