more fixes to Send Email reminder.  Add a new util which checks params for null and logs the error.