util.php send_email_ses() Replace unwieldly ifs with ternary operator.