You are using a version of Universal Email that doesn't support MySQLi. You would have to update to DataBridge v2 to get the email logging to work with mySQLi. It is a much better library for sending email in general. It also allows you to send SMTP authenticated emails without PEAR and has a lot of efficiency upgrades including a much cleaner code footprint.