[2729] ArithmeticException in Emails.sendEmails

Fixed
Use either the one line format or the three line format. i.e.
```
emailIntervalMillis = emailIntervalMillis > maxIntervalMillis 
                                 ? maxIntervalMillis 
                                 : emailIntervalMillis;
```